summaryrefslogtreecommitdiff
path: root/include/configs/ls2080ardb.h
diff options
context:
space:
mode:
authorTang Yuantian <Yuantian.Tang@freescale.com>2015-12-09 15:32:18 +0800
committerYork Sun <yorksun@freescale.com>2015-12-15 08:57:35 +0800
commit989c5f0a8f8694ac92eb0d6cff8745ae8659364f (patch)
tree56e3a776487e1a792d265b4bdc6f292a6f34a834 /include/configs/ls2080ardb.h
parent3a4800a5968f689788d70f7decb000a3d3e1a2f4 (diff)
armv8: Add sata support on Layerscape ARMv8 board
Freescale ARM-based Layerscape contains a SATA controller which comply with the serial ATA 3.0 specification and the AHCI 1.3 specification. This patch adds SATA feature on ls2080aqds, ls2080ardb and ls1043aqds boards. Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/configs/ls2080ardb.h')
-rw-r--r--include/configs/ls2080ardb.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index faccc6f35b..116dbcde5b 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -42,6 +42,24 @@ unsigned long get_board_sys_clk(void);
#endif
#define CONFIG_FSL_DDR_BIST /* enable built-in memory test */
+/* SATA */
+#define CONFIG_LIBATA
+#define CONFIG_SCSI_AHCI
+#define CONFIG_SCSI_AHCI_PLAT
+#define CONFIG_CMD_SCSI
+#define CONFIG_CMD_FAT
+#define CONFIG_CMD_EXT2
+#define CONFIG_DOS_PARTITION
+#define CONFIG_BOARD_LATE_INIT
+
+#define CONFIG_SYS_SATA1 AHCI_BASE_ADDR1
+#define CONFIG_SYS_SATA2 AHCI_BASE_ADDR2
+
+#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)
+
/* undefined CONFIG_FSL_DDR_SYNC_REFRESH for simulator */
#define CONFIG_SYS_NOR0_CSPR_EXT (0x0)