Commit af0e08ca authored by Biwen Li's avatar Biwen Li Committed by Priyanka Jain
Browse files

I2C: ls1043a, ls1046a: enable SYS_I2C_MXC



This enables SYS_I2C_MXC to fix a bug that
failed to boot from sd card with
image u-boot-with-spl-pbl.bin
Signed-off-by: default avatarBiwen Li <biwen.li@nxp.com>
Reviewed-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
parent dd6df64c
...@@ -76,7 +76,7 @@ config ARCH_LS1043A ...@@ -76,7 +76,7 @@ config ARCH_LS1043A
select SYS_FSL_HAS_DDR4 select SYS_FSL_HAS_DDR4
select ARCH_EARLY_INIT_R select ARCH_EARLY_INIT_R
select BOARD_EARLY_INIT_F select BOARD_EARLY_INIT_F
select SYS_I2C_MXC if !DM_I2C select SYS_I2C_MXC
select SYS_I2C_MXC_I2C1 if !DM_I2C select SYS_I2C_MXC_I2C1 if !DM_I2C
select SYS_I2C_MXC_I2C2 if !DM_I2C select SYS_I2C_MXC_I2C2 if !DM_I2C
select SYS_I2C_MXC_I2C3 if !DM_I2C select SYS_I2C_MXC_I2C3 if !DM_I2C
...@@ -109,7 +109,7 @@ config ARCH_LS1046A ...@@ -109,7 +109,7 @@ config ARCH_LS1046A
select SYS_FSL_SRDS_2 select SYS_FSL_SRDS_2
select ARCH_EARLY_INIT_R select ARCH_EARLY_INIT_R
select BOARD_EARLY_INIT_F select BOARD_EARLY_INIT_F
select SYS_I2C_MXC if !DM_I2C select SYS_I2C_MXC
select SYS_I2C_MXC_I2C1 if !DM_I2C select SYS_I2C_MXC_I2C1 if !DM_I2C
select SYS_I2C_MXC_I2C2 if !DM_I2C select SYS_I2C_MXC_I2C2 if !DM_I2C
select SYS_I2C_MXC_I2C3 if !DM_I2C select SYS_I2C_MXC_I2C3 if !DM_I2C
......
/* SPDX-License-Identifier: GPL-2.0+ */ /* SPDX-License-Identifier: GPL-2.0+ */
/* /*
* Copyright (C) 2015 Freescale Semiconductor * Copyright (C) 2015 Freescale Semiconductor
* Copyright (C) 2019 NXP * Copyright 2019-2020 NXP
*/ */
#ifndef __LS1043A_COMMON_H #ifndef __LS1043A_COMMON_H
...@@ -144,7 +144,6 @@ ...@@ -144,7 +144,6 @@
/* I2C */ /* I2C */
#ifndef CONFIG_DM_I2C #ifndef CONFIG_DM_I2C
#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_MXC
#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */ #define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */
#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */
......
...@@ -129,7 +129,6 @@ ...@@ -129,7 +129,6 @@
/* I2C */ /* I2C */
#ifndef CONFIG_DM_I2C #ifndef CONFIG_DM_I2C
#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_MXC
#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */ #define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */
#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment