projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e45ff0c
)
armv8: fsl: i2c: Put I2C related code under CONFIG_SYS_I2C
author
Sriram Dash
<sriram.dash@nxp.com>
Mon, 4 Sep 2017 10:15:02 +0000
(15:45 +0530)
committer
York Sun
<york.sun@nxp.com>
Fri, 22 Sep 2017 19:45:27 +0000
(12:45 -0700)
I2C code is put under CONFIG_SYS_I2C.
Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/fsl-layerscape/soc.c
b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
index
e614203
..
a90ee0a
100644
(file)
--- a/
arch/arm/cpu/armv8/fsl-layerscape/soc.c
+++ b/
arch/arm/cpu/armv8/fsl-layerscape/soc.c
@@
-260,8
+260,8
@@
static void erratum_rcw_src(void)
#ifdef CONFIG_SYS_FSL_ERRATUM_A009203
static void erratum_a009203(void)
{
#ifdef CONFIG_SYS_FSL_ERRATUM_A009203
static void erratum_a009203(void)
{
- u8 __iomem *ptr;
#ifdef CONFIG_SYS_I2C
#ifdef CONFIG_SYS_I2C
+ u8 __iomem *ptr;
#ifdef I2C1_BASE_ADDR
ptr = (u8 __iomem *)(I2C1_BASE_ADDR + I2C_DEBUG_REG);
#ifdef I2C1_BASE_ADDR
ptr = (u8 __iomem *)(I2C1_BASE_ADDR + I2C_DEBUG_REG);