[U-Boot,2/2] ls1088aqds: Add SCSI related configs in header file for qds

Message ID 1505289196-15173-2-git-send-email-Ashish.Kumar@nxp.com
State Superseded
Delegated to: York Sun
Headers show
Series
  • [U-Boot,1/2] ls1088ardb: Add SCSI related configs in header file for RDB
Related show

Commit Message

Ashish Kumar Sept. 13, 2017, 7:53 a.m.
Signed-off-by: Amrita Kumari <amrita.kumari@nxp.com>
Signed-off-by: Ashish Kumar <Ashish.Kumar@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

 include/configs/ls1088aqds.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

Patch

diff --git a/include/configs/ls1088aqds.h b/include/configs/ls1088aqds.h
index c57e1f5..0af3ac4 100644
--- a/include/configs/ls1088aqds.h
+++ b/include/configs/ls1088aqds.h
@@ -368,6 +368,17 @@  unsigned long get_board_ddr_clk(void);
 #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)
+
 #ifdef CONFIG_FSL_MC_ENET
 #define CONFIG_FSL_MEMAC
 #define	CONFIG_PHYLIB