Skip to contentSkip to conversation

armv8: fsl: i2c: Put I2C related code under CONFIG_SYS_I2C

PATCH New Sriram Dash 2 participants 2 messages Sep 4, 2017 – Sep 25, 2017 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 armv8: fsl: i2c: Put I2C related code under CONFIG_SYS_I2C

I2C code is put under CONFIG_SYS_I2C

---
 arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv8/fsl-layerscape/soc.c +1 -1
index 639e9d2..66afcea 100644
@@ -155,8 +155,8 @@ static void erratum_rcw_src(void)
 #ifdef CONFIG_SYS_FSL_ERRATUM_A009203
 static void erratum_a009203(void)
 {
-	u8 __iomem *ptr;
 #ifdef CONFIG_SYS_I2C
+	u8 __iomem *ptr;
 #ifdef I2C1_BASE_ADDR
 	ptr = (u8 __iomem *)(I2C1_BASE_ADDR + I2C_DEBUG_REG);
 
Signature · 1 line
1.9.1
Applied
#1 lore raw

PATCH 1/1 armv8: fsl: i2c: Put I2C related code under CONFIG_SYS_I2C

Quoted 4 lines · Sriram Dash

I2C code is put under CONFIG_SYS_I2C

---

Applied to fsl-qoriq mater. Thanks.

York