summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-18 11:30:09 +0000
committerwdenk <wdenk>2003-05-18 11:30:09 +0000
commit66fd3d1ce732d9168d6a056986231ada8dfa500e (patch)
tree4b0d3f9094ef6525c631baf01268d21317496e81 /include/configs
parent45219c46605f9b933ab454738ee4ce543d5b70d6 (diff)
downloadu-boot-imx-66fd3d1ce732d9168d6a056986231ada8dfa500e.zip
u-boot-imx-66fd3d1ce732d9168d6a056986231ada8dfa500e.tar.gz
u-boot-imx-66fd3d1ce732d9168d6a056986231ada8dfa500e.tar.bz2
Add support for CompactFlash on ATC board
(includes support for Intel 82365 and compatible PC Card controllers, and Yenta-compatible PCI-to-CardBus controllers)
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/TQM860L.h1
-rw-r--r--include/configs/atc.h49
2 files changed, 49 insertions, 1 deletions
diff --git a/include/configs/TQM860L.h b/include/configs/TQM860L.h
index 0d0b8c3..a9d1aff 100644
--- a/include/configs/TQM860L.h
+++ b/include/configs/TQM860L.h
@@ -92,6 +92,7 @@
#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \
CFG_CMD_ASKENV | \
CFG_CMD_DHCP | \
+ CFG_CMD_ELF | \
CFG_CMD_IDE | \
CFG_CMD_DATE )
diff --git a/include/configs/atc.h b/include/configs/atc.h
index 0651ede..4f30847 100644
--- a/include/configs/atc.h
+++ b/include/configs/atc.h
@@ -125,7 +125,12 @@
#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
-#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_EEPROM)
+#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \
+ CFG_CMD_EEPROM | \
+ CFG_CMD_PCI | \
+ CFG_CMD_PCMCIA | \
+ CFG_CMD_IDE)
+#define CONFIG_DOS_PARTITION
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
#include <cmd_confdefs.h>
@@ -149,6 +154,8 @@
#define CFG_LOAD_ADDR 0x100000 /* default load address */
+#define CFG_PIO_MODE 0 /* IDE interface in PIO Mode 0 */
+
#define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
@@ -239,6 +246,9 @@
# define CFG_RAMBOOT
#endif
+#define CONFIG_PCI
+#define CONFIG_PCI_PNP
+
#if 1
/* environment is in Flash */
#define CFG_ENV_IS_IN_FLASH 1
@@ -441,4 +451,41 @@
#define CFG_PSDMR CFG_PSDMR_8COL
#endif /* CFG_RAMBOOT */
+/*-----------------------------------------------------------------------
+ * PCMCIA stuff
+ *-----------------------------------------------------------------------
+ *
+ */
+#define CONFIG_I82365
+
+#define CFG_PCMCIA_MEM_ADDR 0x81000000
+#define CFG_PCMCIA_MEM_SIZE 0x1000
+
+/*-----------------------------------------------------------------------
+ * IDE/ATA stuff (Supports IDE harddisk on PCMCIA Adapter)
+ *-----------------------------------------------------------------------
+ */
+
+#define CONFIG_IDE_8xx_PCCARD 1 /* Use IDE with PC Card Adapter */
+
+#undef CONFIG_IDE_8xx_DIRECT /* Direct IDE not supported */
+#undef CONFIG_IDE_LED /* LED for ide not supported */
+#undef CONFIG_IDE_RESET /* reset for ide not supported */
+
+#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 0xa0000000
+
+/* Offset for data I/O */
+#define CFG_ATA_DATA_OFFSET 0x100
+
+/* Offset for normal register accesses */
+#define CFG_ATA_REG_OFFSET 0x100
+
+/* Offset for alternate registers */
+#define CFG_ATA_ALT_OFFSET 0x108
+
#endif /* __CONFIG_H */