summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPavel Herrmann <morpheus.ibis@gmail.com>2012-10-09 07:10:08 +0000
committerTom Rini <trini@ti.com>2012-10-17 07:59:09 -0700
commit4d1361d86773fce10352bd35729ce74036d5acb0 (patch)
treed0da2a12108f6e6554f0e6bac640c70e2d126d66 /common
parent0a4a64c07983be76a2b25242094a19b282b36577 (diff)
downloadu-boot-imx-4d1361d86773fce10352bd35729ce74036d5acb0.zip
u-boot-imx-4d1361d86773fce10352bd35729ce74036d5acb0.tar.gz
u-boot-imx-4d1361d86773fce10352bd35729ce74036d5acb0.tar.bz2
split AU1X00 specific code from cmd_ide.c
move special case of ide_swap_read() for AU1X00 SoC into SoC-specific directory. Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_ide.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/cmd_ide.c b/common/cmd_ide.c
index 7eb19cf..5b46e3c 100644
--- a/common/cmd_ide.c
+++ b/common/cmd_ide.c
@@ -503,8 +503,7 @@ void ide_output_data(int dev, const ulong *sect_buf, int words)
__attribute__ ((weak, alias("__ide_output_data")));
/* 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)
+#if defined(__LITTLE_ENDIAN)
void __ide_input_swap_data(int dev, ulong *sect_buf, int words)
{
ide_input_data(dev, sect_buf, words);
@@ -532,7 +531,7 @@ void __ide_input_swap_data(int dev, ulong *sect_buf, int words)
#endif /* !MIPS */
}
}
-#endif /* __LITTLE_ENDIAN || CONFIG_AU1X00 */
+#endif /* __LITTLE_ENDIAN */
#if defined(CONFIG_IDE_SWAP_IO)