Add CompactFlash support for HMI1001 board.
authorWolfgang Denk <wd@nyx.denx.de>
Thu, 21 Jul 2005 13:23:29 +0000 (15:23 +0200)
committerWolfgang Denk <wd@nyx.denx.de>
Thu, 21 Jul 2005 13:23:29 +0000 (15:23 +0200)
CHANGELOG
include/configs/hmi1001.h

index 4054e82..3cfb163 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,10 @@
 Changes for U-Boot 1.1.3:
 ======================================================================
 
+* Add CompactFlash support for HMI1001 board.
+
+* Adjust printed board ID for LWMON board.
+
 * Add new argument format for flash commands to allow for usage like
   "erase $(addr) +$(filesize)", i. e. a size argument can be used and
   U-Boot will automaticially find the end of the corresponding sector.
index 4e44bde..aec405b 100644 (file)
@@ -52,6 +52,9 @@
 #define CONFIG_BAUDRATE                115200  /* ... at 115200 bps    */
 #define CFG_BAUDRATE_TABLE     { 9600, 19200, 38400, 57600, 115200, 230400 }
 
+/* Partitions */
+#define CONFIG_DOS_PARTITION
+
 /*
  * Supported commands
  */
@@ -60,6 +63,7 @@
                                CFG_CMD_DHCP    | \
                                CFG_CMD_EEPROM  | \
                                CFG_CMD_I2C     | \
+                               CFG_CMD_IDE     | \
                                CFG_CMD_NFS     | \
                                CFG_CMD_SNTP)
 
 #define CFG_CS_BURST           0x00000000
 #define CFG_CS_DEADCYCLE       0x33333333
 
+/*-----------------------------------------------------------------------
+ * IDE/ATA stuff Supports IDE harddisk
+ *-----------------------------------------------------------------------
+ */
+
+#undef  CONFIG_IDE_8xx_PCCARD          /* Use IDE with PC Card Adapter */
+
+#undef CONFIG_IDE_8xx_DIRECT           /* Direct IDE    not supported  */
+#undef CONFIG_IDE_LED                  /* LED   for ide not supported  */
+
+#define CFG_IDE_MAXBUS         1       /* max. 1 IDE bus               */
+#define CFG_IDE_MAXDEVICE      2       /* max. 2 drives per IDE bus    */
+
+#define CFG_ATA_IDE0_OFFSET    0x0000
+
+#define CFG_ATA_BASE_ADDR      MPC5XXX_ATA
+
+/* Offset for data I/O                 */
+#define CFG_ATA_DATA_OFFSET    (0x0060)
+
+/* Offset for normal register accesses */
+#define CFG_ATA_REG_OFFSET     (CFG_ATA_DATA_OFFSET)
+
+/* Offset for alternate registers      */
+#define CFG_ATA_ALT_OFFSET     (0x005C)
+
+/* Interval between registers                                                */
+#define CFG_ATA_STRIDE          4
+
+#define CONFIG_ATAPI            1
+
 #endif /* __CONFIG_H */