summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAlbert Aribaud <[albert.aribaud@free.fr]>2010-08-08 05:17:05 +0530
committerPrafulla Wadaskar <prafulla@marvell.com>2010-08-08 05:17:05 +0530
commitf2a37fcd9ba9d3d0aab5864141715596aff1de60 (patch)
treea33520591661fdc3fffbdc07f4ccf6f151d82bbb /arch/powerpc
parent9efac4a1eb99d9c5539aa6992025eeacab7980c6 (diff)
downloadu-boot-imx-f2a37fcd9ba9d3d0aab5864141715596aff1de60.zip
u-boot-imx-f2a37fcd9ba9d3d0aab5864141715596aff1de60.tar.gz
u-boot-imx-f2a37fcd9ba9d3d0aab5864141715596aff1de60.tar.bz2
ide: add configuration
CONFIG_IDE_SWAP_IO This configuration option replaces a complex conditional in cmd_ide.c with an explicit define to be added to SoC or board configs. Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/config.h b/arch/powerpc/include/asm/config.h
index f70699d..d098657 100644
--- a/arch/powerpc/include/asm/config.h
+++ b/arch/powerpc/include/asm/config.h
@@ -95,4 +95,7 @@
#define CONFIG_FSL_LBC
#endif
+/* All PPC boards must swap IDE bytes */
+#define CONFIG_IDE_SWAP_IO
+
#endif /* _ASM_CONFIG_H_ */