[U-Boot] [Patch V2 2/2] armv8: ls1088aqds: Add SCSI related configs in header file for QDS

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


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

diff --git a/include/configs/ls1088aqds.h b/include/configs/ls1088aqds.h
index e60fe49..31efb82 100644
--- a/include/configs/ls1088aqds.h
+++ b/include/configs/ls1088aqds.h
@@ -360,6 +360,19 @@ unsigned long get_board_ddr_clk(void);
 	"mcmemsize=0x70000000 \0"
 #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)
+
 #ifdef CONFIG_FSL_MC_ENET
 #define CONFIG_FSL_MEMAC
 #define	CONFIG_PHYLIB
-- 
2.7.4



More information about the U-Boot mailing list