diff mbox series

[U-Boot,15/42] include/configs: ls1043a_common: define default i2c bus

Message ID 20191114103641.34085-15-biwen.li@nxp.com
State Changes Requested
Delegated to: Priyanka Jain
Headers show
Series [U-Boot,01/42] configs: ls1012a: enable CONFIG_DM_I2C | expand

Commit Message

Biwen Li Nov. 14, 2019, 10:36 a.m. UTC
This defines default i2c bus with
macro CONFIG_I2C_SET_DEFAULT_BUS_NUM
and CONFIG_I2C_DEFAULT_BUS_NUMBER
for SoC LS1043A

Signed-off-by: Biwen Li <biwen.li@nxp.com>
---
 include/configs/ls1043a_common.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index bbee26a4de..8997a4254b 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -143,6 +143,9 @@ 
 /* I2C */
 #ifndef CONFIG_DM_I2C
 #define CONFIG_SYS_I2C
+#else
+#define CONFIG_I2C_SET_DEFAULT_BUS_NUM
+#define CONFIG_I2C_DEFAULT_BUS_NUMBER 0
 #endif
 
 /* PCIe */