[U-Boot] [PATCH 2/2] ls1043ardb: add support scsi command and pcie to sata converter

Po Liu po.liu at nxp.com
Wed Apr 13 13:00:39 CEST 2016


Add scsi command and enable supporting the pcie2sata chip
88SE9170 from Marvell.

Signed-off-by: Po Liu <po.liu at nxp.com>
---
 include/configs/ls1043ardb.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/include/configs/ls1043ardb.h b/include/configs/ls1043ardb.h
index bc40b06..c8d03f2 100644
--- a/include/configs/ls1043ardb.h
+++ b/include/configs/ls1043ardb.h
@@ -288,6 +288,22 @@
 #define CONFIG_CMD_EXT2
 #endif
 
+/* SATA */
+#define CONFIG_LIBATA
+#define CONFIG_SCSI_AHCI
+#define CONFIG_CMD_SCSI
+#define CONFIG_CMD_FAT
+#define CONFIG_CMD_EXT2
+#define CONFIG_DOS_PARTITION
+#define CONFIG_BOARD_LATE_INIT
+#define CONFIG_SATA_88SE9170
+#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 CONFIG_PCI
+
 #include <asm/fsl_secure_boot.h>
 
 #endif /* __LS1043ARDB_H__ */
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list