]> git.sur5r.net Git - u-boot/blobdiff - doc/README.PXA_CF
powerpc/86xx: Rework MPC8641HPCN pci_init_board to use common FSL PCIe code
[u-boot] / doc / README.PXA_CF
index e443d3959620a94f256a511f76c567141a7e671d..1d76b32dd7ad22a51c7473c25acea850ee23847c 100644 (file)
@@ -6,41 +6,49 @@ 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.
 
 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
 
 #define CONFIG_PCMCIA_SLOT_A 1
 /* just to keep build system happy  */
 
 #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 CONFIG_SYS_PCMCIA_MEM_ADDR     0x28000000
+#define CONFIG_SYS_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
+#define CONFIG_SYS_MECR_VAL            0x00000000
+#define CONFIG_SYS_MCMEM0_VAL          0x00004204
+#define CONFIG_SYS_MCMEM1_VAL          0x00000000
+#define CONFIG_SYS_MCATT0_VAL          0x00010504
+#define CONFIG_SYS_MCATT1_VAL          0x00000000
+#define CONFIG_SYS_MCIO0_VAL           0x00008407
+#define CONFIG_SYS_MCIO1_VAL           0x00000000
 /* memory configuration */
 
 /* memory configuration */
 
-#define CFG_IDE_MAXBUS         1
+#define CONFIG_SYS_IDE_MAXBUS          1
 /* max. 1 IDE bus              */
 /* max. 1 IDE bus              */
-#define CFG_IDE_MAXDEVICE      1
+#define CONFIG_SYS_IDE_MAXDEVICE       1
 /* max. 1 drive per IDE bus    */
 
 /* max. 1 drive per IDE bus    */
 
-#define CFG_ATA_IDE0_OFFSET    0x0000
+#define CONFIG_SYS_ATA_IDE0_OFFSET     0x0000
 
 
-#define CFG_ATA_BASE_ADDR      0x20000000
+#define CONFIG_SYS_ATA_BASE_ADDR       0x20000000
 
 /* Offset for data I/O                 */
 
 /* Offset for data I/O                 */
-#define CFG_ATA_DATA_OFFSET    0x1f0
+#define CONFIG_SYS_ATA_DATA_OFFSET     0x1f0
 
 /* Offset for normal register accesses */
 
 /* Offset for normal register accesses */
-#define CFG_ATA_REG_OFFSET     0x1f0
+#define CONFIG_SYS_ATA_REG_OFFSET      0x1f0
 
 /* Offset for alternate registers      */
 
 /* Offset for alternate registers      */
-#define CFG_ATA_ALT_OFFSET     0x3f0
+#define CONFIG_SYS_ATA_ALT_OFFSET      0x3f0
 
 
 Another important point is that maybe you have to power the pcmcia
 
 
 Another important point is that maybe you have to power the pcmcia