]> git.sur5r.net Git - u-boot/commitdiff
Add AHCI define and sata support for MPC8641HPCN board.
authorJin Zhengxiong <jason@bus.ap.freescale.net>
Wed, 23 Aug 2006 11:15:12 +0000 (19:15 +0800)
committerJon Loeliger <jdl@freescale.com>
Wed, 23 Aug 2006 15:40:10 +0000 (10:40 -0500)
Signed-off-by:Jason Jin<jason.jin@freescale.com>

include/configs/MPC8641HPCN.h

index 1f5e2dfd949fccc2e7c11545e05168d4da3ff005..7097b3eee4e40c08228e6366ae1f49c02028dde7 100644 (file)
 
 #undef CONFIG_PCI_SCAN_SHOW            /* show pci devices on startup */
 
+#define CONFIG_DOS_PARTITION
+#define CONFIG_SCSI_AHCI
+
+#ifdef CONFIG_SCSI_AHCI
+#define CONFIG_SATA_ULI5288
+#define CFG_SCSI_MAX_SCSI_ID   4
+#define CFG_SCSI_MAX_LUN       1
+#define CFG_SCSI_MAX_DEVICE    (CFG_SCSI_MAX_SCSI_ID * CFG_SCSI_MAX_LUN)
+#define CFG_SCSI_MAXDEVICE     CFG_SCSI_MAX_DEVICE
+#endif
+
 #endif /* CONFIG_PCI */
 
 
     #define  CONFIG_COMMANDS   ((CONFIG_CMD_DFL        \
                                 | CFG_CMD_PING         \
                                 | CFG_CMD_PCI          \
-                                | CFG_CMD_I2C)         \
+                                | CFG_CMD_I2C          \
+                                | CFG_CMD_SCSI         \
+                                | CFG_CMD_EXT2)        \
                                &                       \
                                 ~(CFG_CMD_ENV          \
                                  | CFG_CMD_IMLS        \
   #else
     #define  CONFIG_COMMANDS   ((CONFIG_CMD_DFL        \
                                 | CFG_CMD_PING         \
-                                | CFG_CMD_I2C)         \
+                                | CFG_CMD_I2C          \
+                                | CFG_CMD_SCSI         \
+                                | CGF_CMD_EXT2)        \
                                &                       \
                                 ~(CFG_CMD_ENV          \
                                 | CFG_CMD_IMLS         \
     #define  CONFIG_COMMANDS   (CONFIG_CMD_DFL         \
                                | CFG_CMD_PCI           \
                                | CFG_CMD_PING          \
-                               | CFG_CMD_I2C)
+                               | CFG_CMD_I2C           \
+                               | CFG_CMD_SCSI          \
+                               | CFG_CMD_EXT2)
   #else
     #define  CONFIG_COMMANDS   (CONFIG_CMD_DFL         \
                                | CFG_CMD_PING          \