diff options
author | Robin Gong <B38343@freescale.com> | 2012-05-07 11:05:03 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2012-09-12 11:05:50 -0400 |
commit | 5846998ad660c7f75f22272beb062394c5c17f78 (patch) | |
tree | 5178fe8bbaf8f1b9120417b2f5ffd546f5dbe36f /include | |
parent | 0ede0cd835e7200e19f1e1f38a580629345e863c (diff) |
ENGR00182017 mx6dl sabresd I2C: fix build error and support mx6dl_sabresd
1.fix build error :
mx6q_sabresd.c: In function 'setup_i2c':
mx6q_sabresd.c:382: error: expected ')' before ';' token
mx6q_sabresd.c:393: error: expected ';' before '}' token
mx6q_sabresd.c: In function 'setup_pmic_voltages':
mx6q_sabresd.c:399: warning: unused variable 'val'
make[1]: *** [mx6q_sabresd.o] Error 1
2.modify mx6dl_sabresd_config to support pfuze on mx6dl sabresd board
Signed-off-by: Robin Gong <B38343@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6dl_sabresd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/mx6dl_sabresd.h b/include/configs/mx6dl_sabresd.h index 91ed159e53..3df2a348a1 100644 --- a/include/configs/mx6dl_sabresd.h +++ b/include/configs/mx6dl_sabresd.h @@ -190,9 +190,10 @@ #ifdef CONFIG_CMD_I2C #define CONFIG_HARD_I2C 1 #define CONFIG_I2C_MXC 1 - #define CONFIG_SYS_I2C_PORT I2C3_BASE_ADDR + #define CONFIG_SYS_I2C_PORT I2C2_BASE_ADDR #define CONFIG_SYS_I2C_SPEED 100000 - #define CONFIG_SYS_I2C_SLAVE 0x1f + #define CONFIG_SYS_I2C_SLAVE 0x8 + #define CONFIG_MX6_INTER_LDO_BYPASS 0 #endif /* |