aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartyn Welch <martyn.welch@collabora.co.uk>2018-01-10 20:31:28 +0100
committerStefano Babic <sbabic@denx.de>2018-02-04 12:00:58 +0100
commit87da89e803610770390d81dc6d8b6edb909f16d6 (patch)
tree77550356eafd985169a6a03b004eb8822d780dc0 /include
parent958a2106f5af62d47e3b522ef4bbf3c13185dfb1 (diff)
downloadu-boot-87da89e803610770390d81dc6d8b6edb909f16d6.zip
u-boot-87da89e803610770390d81dc6d8b6edb909f16d6.tar.gz
u-boot-87da89e803610770390d81dc6d8b6edb909f16d6.tar.bz2
board: ge: Enable access to i2c bus 1 and 2
The change in i2c configuration added to support access to the VPD has inadvertantly caused access to i2c buses 1 & 2 to be lost. This has resulted in the configuration for the PMIC to be attempted on the wrong bus and thus isn't taking effect. Add the required configuration to return access to buses 1 & 2. In order to ensure that any users of the bus numbering prior to addition in VPD patches work, add buses before configuration related to mux on bus 0 and tweak VPD bus usage to fit new numbering scheme. Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ge_bx50v3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index 694aa8a..aa7772c 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -296,9 +296,11 @@
#define CONFIG_SYS_I2C_MXC_I2C2
#define CONFIG_SYS_I2C_MXC_I2C3
-#define CONFIG_SYS_NUM_I2C_BUSES 9
+#define CONFIG_SYS_NUM_I2C_BUSES 11
#define CONFIG_SYS_I2C_MAX_HOPS 1
#define CONFIG_SYS_I2C_BUSES { {0, {I2C_NULL_HOP} }, \
+ {1, {I2C_NULL_HOP} }, \
+ {2, {I2C_NULL_HOP} }, \
{0, {{I2C_MUX_PCA9547, 0x70, 0} } }, \
{0, {{I2C_MUX_PCA9547, 0x70, 1} } }, \
{0, {{I2C_MUX_PCA9547, 0x70, 2} } }, \