Skip to contentSkip to conversation

I2C: ls1043a, ls1046a: enable SYS_I2C_MXC

PATCH New Biwen Li 1 participant 1 message Jun 4, 2020 Arm (32-bit)

lore
Share & tools
lore

Biwen Li

author
#0 lore raw

PATCH v2 1/1 I2C: ls1043a, ls1046a: enable SYS_I2C_MXC

From: Biwen Li <[email protected]>

This enables SYS_I2C_MXC to fix a bug that
failed to boot from sd card with
image u-boot-with-spl-pbl.bin

---
Change in v2:
- fix copyright

 arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++--
 include/configs/ls1043a_common.h          | 3 +--
 include/configs/ls1046a_common.h          | 1 -
 3 files changed, 3 insertions(+), 5 deletions(-)
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +2 -2
index b256391..ac53d64 100644
@@ -74,7 +74,7 @@ config ARCH_LS1043A
 	select SYS_FSL_HAS_DDR4
 	select ARCH_EARLY_INIT_R
 	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_I2C2 if !DM_I2C
 	select SYS_I2C_MXC_I2C3 if !DM_I2C
@@ -107,7 +107,7 @@ config ARCH_LS1046A
 	select SYS_FSL_SRDS_2
 	select ARCH_EARLY_INIT_R
 	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_I2C2 if !DM_I2C
 	select SYS_I2C_MXC_I2C3 if !DM_I2C
include/configs/ls1043a_common.h +1 -2
index 985f404..7026814 100644
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2015 Freescale Semiconductor
- * Copyright (C) 2019 NXP
+ * Copyright 2019-2020 NXP
  */
 
 #ifndef __LS1043A_COMMON_H
@@ -144,7 +144,6 @@
 /* I2C */
 #ifndef CONFIG_DM_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_I2C2		/* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3		/* enable I2C bus 3 */
include/configs/ls1046a_common.h +0 -1
index e80c299..1748422 100644
@@ -129,7 +129,6 @@
 /* I2C */
 #ifndef CONFIG_DM_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_I2C2		/* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3		/* enable I2C bus 3 */
Signature · 1 line
2.7.4