From 885ae0513a3cfc2e1fbd4452cd2e2c466423049a Mon Sep 17 00:00:00 2001 From: Chuanhua Han Date: Fri, 26 Jul 2019 19:24:01 +0800 Subject: boards: ls2088aqds: Add support of I2C driver model. Update ls2088aqds board init code to support DM_I2C. Signed-off-by: Chuanhua Han Reviewed-by: Prabhakar Kushwaha --- include/configs/ls2080aqds.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h index 81af1d9ea43..e2a897557db 100644 --- a/include/configs/ls2080aqds.h +++ b/include/configs/ls2080aqds.h @@ -16,7 +16,9 @@ unsigned long get_board_ddr_clk(void); #ifdef CONFIG_FSL_QSPI #define CONFIG_QIXIS_I2C_ACCESS +#ifndef CONFIG_DM_I2C #define CONFIG_SYS_I2C_EARLY_INIT +#endif #define CONFIG_SYS_I2C_IFDR_DIV 0x7e #endif @@ -324,6 +326,7 @@ unsigned long get_board_ddr_clk(void); */ #define RTC #define CONFIG_RTC_DS3231 1 +#define CONFIG_RTC_ENABLE_32KHZ_OUTPUT #define CONFIG_SYS_I2C_RTC_ADDR 0x68 #define CONFIG_RTC_ENABLE_32KHZ_OUTPUT -- cgit v1.2.3