diff options
author | York Sun <york.sun@nxp.com> | 2017-03-27 11:41:03 -0700 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-04-17 09:03:30 -0700 |
commit | 73fb583829efb296ecdddb08c426e2261cb84d0a (patch) | |
tree | 5a65e6eb8394a5fc66a27ba4773c529d5f4490c9 /drivers/i2c/mxc_i2c.c | |
parent | c1303bfd7e14f5ee451f6aafeeca2d87ac1255d6 (diff) | |
download | u-boot-73fb583829efb296ecdddb08c426e2261cb84d0a.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index eb789f5bff..13ec0e63b1 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 }, |