cmd_ide: Fix an unused CONFIG_AU1X00 symbol to work as intended
authorShinya Kuribayashi <skuribay@pobox.com>
Sat, 5 Feb 2011 10:07:00 +0000 (19:07 +0900)
committerShinya Kuribayashi <skuribay@pobox.com>
Sat, 5 Feb 2011 11:06:03 +0000 (20:06 +0900)
commit 8bde63eb3f79d68f693201528dafc8ae7aa087de ([MIPS] Rename Alchemy
processor configs into CONFIG_SOC_*) forgot to pick up this one.

Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
common/cmd_ide.c

index df7bdf5..a1f7e57 100644 (file)
@@ -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