From: Biwen Li Date: Thu, 14 Nov 2019 18:36:08 +0800 Subject: [U-Boot] [PATCH 09/42] include/configs: ls1012a_common: define default i2c bus In-Reply-To: <20191114103641.34085-1-biwen.li@nxp.com> References: <20191114103641.34085-1-biwen.li@nxp.com> Message-ID: <20191114103641.34085-9-biwen.li@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This defines default i2c bus with macro CONFIG_I2C_SET_DEFAULT_BUS_NUM and CONFIG_I2C_DEFAULT_BUS_NUMBER for ls1012a Signed-off-by: Biwen Li --- include/configs/ls1012a_common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h index c5be1d33cc..b3a12094c1 100644 --- a/include/configs/ls1012a_common.h +++ b/include/configs/ls1012a_common.h @@ -76,6 +76,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 #define CONFIG_SYS_NS16550_SERIAL -- 2.17.1