summaryrefslogtreecommitdiff
path: root/include/configs/ls1043ardb.h
diff options
context:
space:
mode:
authorPo Liu <po.liu@nxp.com>2016-05-18 10:09:38 +0800
committerYork Sun <york.sun@nxp.com>2016-05-18 08:52:42 -0700
commitbc323b3fa7cbf1008f02d342c0505231961b5fa6 (patch)
tree805f78f5c2245118c0ea5ab696004b696e45c1e6 /include/configs/ls1043ardb.h
parent019a147b658631921a5d9d429a9097b33e142d78 (diff)
armv8: ls1043ardb: enable scsi command and pcie to sata converter
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>
Diffstat (limited to 'include/configs/ls1043ardb.h')
-rw-r--r--include/configs/ls1043ardb.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/configs/ls1043ardb.h b/include/configs/ls1043ardb.h
index 39687cfef4..aca8d95c15 100644
--- a/include/configs/ls1043ardb.h
+++ b/include/configs/ls1043ardb.h
@@ -286,6 +286,27 @@
#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__ */