summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/cmd_ide.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_ide.c b/common/cmd_ide.c
index 6e1e568..bae7767 100644
--- a/common/cmd_ide.c
+++ b/common/cmd_ide.c
@@ -668,8 +668,7 @@ static void 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_SOC_AU1X00) && !defined(CONFIG_GTH2))
+#if defined(__LITTLE_ENDIAN) || defined(CONFIG_SOC_AU1X00)
#define input_swap_data(x,y,z) input_data(x,y,z)
#else
static void input_swap_data(int dev, ulong *sect_buf, int words)