diff options
author | Chuanhua Han <chuanhua.han@nxp.com> | 2019-07-26 15:25:35 +0300 |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2019-08-22 06:37:36 +0300 |
commit | c8b2e364b662c76b04da2eb4a3516bf333f55279 (patch) | |
tree | 58f6d57d1438d5affb327d4b978a154486eabc10 /include | |
parent | 96d3fb41469272ff6e36308986618bb1c5c1c667 (diff) | |
download | u-boot-c8b2e364b662c76b04da2eb4a3516bf333f55279.tar.xz |
armv8: ls1088aqds: Add support of I2C driver model.
Udate ls1088aqds board init code to support DM_I2C.
Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/ls1088aqds.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/ls1088aqds.h b/include/configs/ls1088aqds.h index 4387862582..8b62bbe684 100644 --- a/include/configs/ls1088aqds.h +++ b/include/configs/ls1088aqds.h @@ -46,7 +46,9 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_DDR_CLK_FREQ 100000000 #else #define CONFIG_QIXIS_I2C_ACCESS +#ifndef CONFIG_DM_I2C #define CONFIG_SYS_I2C_EARLY_INIT +#endif #define CONFIG_SYS_CLK_FREQ get_board_sys_clk() #define CONFIG_DDR_CLK_FREQ get_board_ddr_clk() #endif @@ -357,9 +359,7 @@ unsigned long get_board_ddr_clk(void); * RTC configuration */ #define RTC -#define CONFIG_RTC_PCF8563 1 #define CONFIG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/ -#define CONFIG_CMD_DATE /* EEPROM */ #define CONFIG_ID_EEPROM |