[U-Boot] [Patch V2 1/2] armv8: ls1088ardb: Add SCSI related configs in header file for RDB

Ashish Kumar Ashish.Kumar at nxp.com
Mon Oct 30 06:41:00 UTC 2017


Signed-off-by: Amrita Kumari <amrita.kumari at nxp.com>
Signed-off-by: Ashish Kumar <Ashish.Kumar at nxp.com>
---
 include/configs/ls1088ardb.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h
index 958d472..8fdc576 100644
--- a/include/configs/ls1088ardb.h
+++ b/include/configs/ls1088ardb.h
@@ -293,6 +293,19 @@
 #define CONFIG_PHY_GIGE
 #endif
 
+/* SATA */
+#define CONFIG_LIBATA
+#define CONFIG_SCSI_AHCI
+#define CONFIG_SCSI_AHCI_PLAT
+#define CONFIG_CMD_SCSI
+#define CONFIG_SCSI
+#define CONFIG_SYS_SATA1		AHCI_BASE_ADDR1
+
+#define CONFIG_SYS_SCSI_MAX_SCSI_ID	1
+#define CONFIG_SYS_SCSI_MAX_LUN		1
+#define CONFIG_SYS_SCSI_MAX_DEVICE	(CONFIG_SYS_SCSI_MAX_SCSI_ID * \
+					CONFIG_SYS_SCSI_MAX_LUN)
+
 /*  MMC  */
 #ifdef CONFIG_MMC
 #define CONFIG_FSL_ESDHC
-- 
2.7.4



More information about the U-Boot mailing list