summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@pobox.com>2011-02-05 19:07:00 +0900
committerShinya Kuribayashi <skuribay@pobox.com>2011-02-05 20:06:03 +0900
commitc6dc8a734d0923e0199a9463d6b7f2241521e208 (patch)
tree153283ba241ecc72e8e527798993751b992fd40c /common
parent17a990b55008fd79636e4880d9d10b7172ca87ce (diff)
downloadu-boot-imx-c6dc8a734d0923e0199a9463d6b7f2241521e208.zip
u-boot-imx-c6dc8a734d0923e0199a9463d6b7f2241521e208.tar.gz
u-boot-imx-c6dc8a734d0923e0199a9463d6b7f2241521e208.tar.bz2
cmd_ide: Fix an unused CONFIG_AU1X00 symbol to work as intended
commit 8bde63eb3f79d68f693201528dafc8ae7aa087de ([MIPS] Rename Alchemy processor configs into CONFIG_SOC_*) forgot to pick up this one. Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_ide.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_ide.c b/common/cmd_ide.c
index df7bdf5..a1f7e57 100644
--- a/common/cmd_ide.c
+++ b/common/cmd_ide.c
@@ -811,7 +811,8 @@ set_pcmcia_timing (int pmode)
/* We only need to swap data if we are running on a big endian cpu. */
/* But Au1x00 cpu:s already swaps data in big endian mode! */
-#if defined(__LITTLE_ENDIAN) || ( defined(CONFIG_AU1X00) && !defined(CONFIG_GTH2) )
+#if defined(__LITTLE_ENDIAN) || \
+ (defined(CONFIG_SOC_AU1X00) && !defined(CONFIG_GTH2))
#define input_swap_data(x,y,z) input_data(x,y,z)
#else
static void