diff options
author | wdenk <wdenk> | 2004-04-15 23:14:49 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-04-15 23:14:49 +0000 |
commit | db01a2ea991b539ffbd36ab952fcf2e754789a83 (patch) | |
tree | 8514a5df0b86fe3315a29fd9068093da43f3b3ca /doc | |
parent | bda6c8aece36f4f21cb041f518d09c26e4fb47eb (diff) | |
download | u-boot-imx-db01a2ea991b539ffbd36ab952fcf2e754789a83.zip u-boot-imx-db01a2ea991b539ffbd36ab952fcf2e754789a83.tar.gz u-boot-imx-db01a2ea991b539ffbd36ab952fcf2e754789a83.tar.bz2 |
* Patch by Stephen Williams, 01 Apr 2004:
Add support for Picture Elements JSE board
* Patch by Christian Pell, 01 Apr 2004:
Add CompactFlash support for PXA systems.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.PXA_CF | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/doc/README.PXA_CF b/doc/README.PXA_CF new file mode 100644 index 0000000..186f775 --- /dev/null +++ b/doc/README.PXA_CF @@ -0,0 +1,50 @@ + +These are brief instructions on how to add support for CF adapters to +custom designed PXA boards. You need to set the parameters in the +config file. This should work for most implementations especially if you +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. + +#define CONFIG_PXA_PCMCIA 1 +#define CONFIG_PXA_IDE 1 + +#define CONFIG_PCMCIA_SLOT_A 1 +/* just to keep build system happy */ + +#define CFG_PCMCIA_MEM_ADDR 0x28000000 +#define CFG_PCMCIA_MEM_SIZE 0x10000000 + +#define CFG_MECR_VAL 0x00000000 +#define CFG_MCMEM0_VAL 0x00004204 +#define CFG_MCMEM1_VAL 0x00000000 +#define CFG_MCATT0_VAL 0x00010504 +#define CFG_MCATT1_VAL 0x00000000 +#define CFG_MCIO0_VAL 0x00008407 +#define CFG_MCIO1_VAL 0x00000000 +/* memory configuration */ + +#define CFG_IDE_MAXBUS 1 +/* max. 1 IDE bus */ +#define CFG_IDE_MAXDEVICE 1 +/* max. 1 drive per IDE bus */ + +#define CFG_ATA_IDE0_OFFSET 0x0000 + +#define CFG_ATA_BASE_ADDR 0x20000000 + +/* Offset for data I/O */ +#define CFG_ATA_DATA_OFFSET 0x1f0 + +/* Offset for normal register accesses */ +#define CFG_ATA_REG_OFFSET 0x1f0 + +/* Offset for alternate registers */ +#define CFG_ATA_ALT_OFFSET 0x3f0 + + +Another important point is that maybe you have to power the pcmcia +subsystem. This is very board specific, for an example on how to +do it please search for CONFIG_EXADRON1 in cmd_pcmcia.c + + |