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 /doc | |
parent | 9efac4a1eb99d9c5539aa6992025eeacab7980c6 (diff) | |
download | u-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 'doc')
-rw-r--r-- | doc/README.PXA_CF | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/README.PXA_CF b/doc/README.PXA_CF index 6a0f236..1d76b32 100644 --- a/doc/README.PXA_CF +++ b/doc/README.PXA_CF @@ -6,6 +6,14 @@ follow the connections of the standard lubbock. Anyway just the block marked memory configuration should be touched since the other parameters are imposed by the PXA architecture. +EDIT 2010-07-01: in common/cmd_ide.c, having CONFIG_PXA_PCMCIA defined +would cause looping on inw()/outw() rather than using insw()/outsw(), +thus making sure IDE / ATA bytes are properly swapped. This behaviour +is now controlled by CONFIG_IDE_SWAP_IO, therefore PXA boards with +PCMCIA should #define CONFIG_IDE_SWAP_IO. + +#define CONFIG_IDE_SWAP_IO + #define CONFIG_PXA_PCMCIA 1 #define CONFIG_PXA_IDE 1 |