summaryrefslogtreecommitdiff
path: root/include/configs/ls1088a_common.h
diff options
context:
space:
mode:
authorAshish Kumar <Ashish.Kumar@nxp.com>2017-11-02 09:50:47 +0530
committerYork Sun <york.sun@nxp.com>2017-11-15 10:50:54 -0800
commitf65425fb46b890c0ba3fa49cd4ced4c99acb3cfd (patch)
tree5ee224c25f2597f2de6cf6f3030288b0759ee4ad /include/configs/ls1088a_common.h
parent99145c488f782efd9175cec50775ea6c1023b2c2 (diff)
armv8: ls1088: Enable SATA for ls1088
Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Signed-off-by: Amrita Kumari <amrita.kumari@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls1088a_common.h')
-rw-r--r--include/configs/ls1088a_common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/ls1088a_common.h b/include/configs/ls1088a_common.h
index fa058f7e52..7cfdc96df2 100644
--- a/include/configs/ls1088a_common.h
+++ b/include/configs/ls1088a_common.h
@@ -148,6 +148,19 @@ unsigned long long get_qixis_addr(void);
/* Miscellaneous configurable options */
#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_DDR_SDRAM_BASE + 0x10000000)
+/* SATA */
+#ifdef CONFIG_SCSI
+#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)
+#endif
+
/* Physical Memory Map */
#define CONFIG_CHIP_SELECTS_PER_CTRL 4