aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/mxc_i2c.c
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2017-03-27 11:41:03 -0700
committerYork Sun <york.sun@nxp.com>2017-04-17 09:03:30 -0700
commit73fb583829efb296ecdddb08c426e2261cb84d0a (patch)
tree5a65e6eb8394a5fc66a27ba4773c529d5f4490c9 /drivers/i2c/mxc_i2c.c
parentc1303bfd7e14f5ee451f6aafeeca2d87ac1255d6 (diff)
downloadu-boot-73fb583829efb296ecdddb08c426e2261cb84d0a.zip
u-boot-73fb583829efb296ecdddb08c426e2261cb84d0a.tar.gz
u-boot-73fb583829efb296ecdddb08c426e2261cb84d0a.tar.bz2
armv7: ls1021a: Drop macro CONFIG_LS102XA
Use CONFIG_ARCH_LS1021A instead. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/i2c/mxc_i2c.c')
-rw-r--r--drivers/i2c/mxc_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c
index eb789f5..13ec0e6 100644
--- a/drivers/i2c/mxc_i2c.c
+++ b/drivers/i2c/mxc_i2c.c
@@ -589,7 +589,7 @@ static int bus_i2c_write(struct mxc_i2c_bus *i2c_bus, u8 chip, u32 addr,
#endif
static struct mxc_i2c_bus mxc_i2c_buses[] = {
-#if defined(CONFIG_LS102XA) || defined(CONFIG_VF610) || \
+#if defined(CONFIG_ARCH_LS1021A) || defined(CONFIG_VF610) || \
defined(CONFIG_FSL_LAYERSCAPE)
{ 0, I2C1_BASE_ADDR, I2C_QUIRK_FLAG },
{ 1, I2C2_BASE_ADDR, I2C_QUIRK_FLAG },