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

Ashish Kumar Ashish.Kumar at nxp.com
Wed Sep 13 07:53:15 UTC 2017


Signed-off-by: Amrita Kumari <amrita.kumari at nxp.com>
Signed-off-by: Ashish Kumar <Ashish.Kumar at nxp.com>
---
v1:
Rebased to
ba39608 ARM: DRA72x: Add support for detection of DRA71x SR 2.1

Depends upon: http://patchwork.ozlabs.org/project/uboot/list/?series=2826

 arch/arm/cpu/armv8/fsl-layerscape/Kconfig |  1 +
 include/configs/ls1088ardb.h              | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index 3518d86..d78e143 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -83,6 +83,7 @@ config ARCH_LS1088A
 	select FSL_TZASC_1
 	select ARCH_EARLY_INIT_R
 	select BOARD_EARLY_INIT_F
+	imply SCSI
 
 config ARCH_LS2080A
 	bool
diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h
index 47ee527..6c7a2fe 100644
--- a/include/configs/ls1088ardb.h
+++ b/include/configs/ls1088ardb.h
@@ -301,6 +301,17 @@
 #define CONFIG_USB_XHCI_FSL
 #define CONFIG_USB_MAX_CONTROLLER_COUNT		2
 
+/* SATA */
+#define CONFIG_LIBATA
+#define CONFIG_SCSI_AHCI
+#define CONFIG_SCSI_AHCI_PLAT
+#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