aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot-sam460ex/doc/README.PXA_CF
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/u-boot-sam460ex/doc/README.PXA_CF
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/u-boot-sam460ex/doc/README.PXA_CF')
-rw-r--r--roms/u-boot-sam460ex/doc/README.PXA_CF48
1 files changed, 48 insertions, 0 deletions
diff --git a/roms/u-boot-sam460ex/doc/README.PXA_CF b/roms/u-boot-sam460ex/doc/README.PXA_CF
new file mode 100644
index 000000000..6a0f236d3
--- /dev/null
+++ b/roms/u-boot-sam460ex/doc/README.PXA_CF
@@ -0,0 +1,48 @@
+
+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 CONFIG_SYS_PCMCIA_MEM_ADDR 0x28000000
+#define CONFIG_SYS_PCMCIA_MEM_SIZE 0x10000000
+
+#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 */
+
+#define CONFIG_SYS_IDE_MAXBUS 1
+/* max. 1 IDE bus */
+#define CONFIG_SYS_IDE_MAXDEVICE 1
+/* max. 1 drive per IDE bus */
+
+#define CONFIG_SYS_ATA_IDE0_OFFSET 0x0000
+
+#define CONFIG_SYS_ATA_BASE_ADDR 0x20000000
+
+/* Offset for data I/O */
+#define CONFIG_SYS_ATA_DATA_OFFSET 0x1f0
+
+/* Offset for normal register accesses */
+#define CONFIG_SYS_ATA_REG_OFFSET 0x1f0
+
+/* Offset for alternate registers */
+#define CONFIG_SYS_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