summaryrefslogtreecommitdiff
path: root/board/freescale/mx6q_sabresd
diff options
context:
space:
mode:
authorRobin Gong <B38343@freescale.com>2012-06-28 15:05:36 +0800
committerRobin Gong <B38343@freescale.com>2012-07-04 11:24:18 +0800
commit616c262d6c5c2151ec4aeeb52f6d9688b405b56f (patch)
tree43ece0886ad28bc3e6ba959a2cfd68e058232265 /board/freescale/mx6q_sabresd
parent8a5eb914dc9ffe384938ff604c71a7bfca233549 (diff)
downloadu-boot-imx-616c262d6c5c2151ec4aeeb52f6d9688b405b56f.zip
u-boot-imx-616c262d6c5c2151ec4aeeb52f6d9688b405b56f.tar.gz
u-boot-imx-616c262d6c5c2151ec4aeeb52f6d9688b405b56f.tar.bz2
ENGR00215197 pfuze MX6SL_ARM2: enable LDO bypass on u-bootimx-android-r13.5-alpha
1.enable I2C and I2C bus recovery support on mx6sl_arm2 2.enable LDO bypass on u-boot, by configuring 'CONFIG_MX6_INTER_LDO_BYPASS' Signed-off-by: Robin Gong <B38343@freescale.com>
Diffstat (limited to 'board/freescale/mx6q_sabresd')
-rw-r--r--board/freescale/mx6q_sabresd/mx6q_sabresd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/mx6q_sabresd/mx6q_sabresd.c b/board/freescale/mx6q_sabresd/mx6q_sabresd.c
index ceb6c46..daeff26 100644
--- a/board/freescale/mx6q_sabresd/mx6q_sabresd.c
+++ b/board/freescale/mx6q_sabresd/mx6q_sabresd.c
@@ -686,6 +686,9 @@ int i2c_bus_recovery(void)
void setup_pmic_voltages(void)
{
unsigned char value = 0 ;
+ #if CONFIG_MX6_INTER_LDO_BYPASS
+ unsigned int val = 0;
+ #endif
i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
if (!i2c_probe(0x8)) {
if (i2c_read(0x8, 0, 1, &value, 1))