armv8: ls1043ardb: enable scsi command and pcie to sata converter
authorPo Liu <po.liu@nxp.com>
Wed, 18 May 2016 02:09:38 +0000 (10:09 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 18 May 2016 15:52:42 +0000 (08:52 -0700)
Enable scsi command and pcie to sata chip 88SE9170.

Signed-off-by: Po Liu <po.liu@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
include/configs/ls1043ardb.h

index 39687cfef4d134f0ac8878db537b23fa4adcb156..aca8d95c153a899335daef7b163f127770739a5d 100644 (file)
 #define CONFIG_USB_STORAGE
 #endif
 
+/* SATA */
+#define CONFIG_LIBATA
+#define CONFIG_SCSI_AHCI
+#define CONFIG_CMD_SCSI
+#ifndef CONFIG_CMD_FAT
+#define CONFIG_CMD_FAT
+#endif
+#ifndef CONFIG_CMD_EXT2
+#define CONFIG_CMD_EXT2
+#endif
+#define CONFIG_DOS_PARTITION
+#define CONFIG_BOARD_LATE_INIT
+#define CONFIG_SYS_SCSI_MAX_SCSI_ID            2
+#define CONFIG_SYS_SCSI_MAX_LUN                        2
+#define CONFIG_SYS_SCSI_MAX_DEVICE             (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
+                                               CONFIG_SYS_SCSI_MAX_LUN)
+#define SCSI_VEND_ID 0x1b4b
+#define SCSI_DEV_ID  0x9170
+#define CONFIG_SCSI_DEV_LIST {SCSI_VEND_ID, SCSI_DEV_ID}
+#define CONFIG_PCI
+
 #include <asm/fsl_secure_boot.h>
 
 #endif /* __LS1043ARDB_H__ */