diff options
author | Albert Aribaud <[albert.aribaud@free.fr]> | 2010-08-08 05:17:05 +0530 |
---|---|---|
committer | Prafulla Wadaskar <prafulla@marvell.com> | 2010-08-08 05:17:05 +0530 |
commit | f2a37fcd9ba9d3d0aab5864141715596aff1de60 (patch) | |
tree | a33520591661fdc3fffbdc07f4ccf6f151d82bbb /arch/powerpc/include/asm/config.h | |
parent | 9efac4a1eb99d9c5539aa6992025eeacab7980c6 (diff) |
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/include/asm/config.h')
-rw-r--r-- | arch/powerpc/include/asm/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/config.h b/arch/powerpc/include/asm/config.h index f70699de27..d0986570e2 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_ */ |