diff options
author | Tang Yuantian <Yuantian.Tang@freescale.com> | 2015-12-09 15:32:18 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-12-15 08:57:35 +0800 |
commit | 989c5f0a8f8694ac92eb0d6cff8745ae8659364f (patch) | |
tree | 56e3a776487e1a792d265b4bdc6f292a6f34a834 /include/configs/ls1043aqds.h | |
parent | 3a4800a5968f689788d70f7decb000a3d3e1a2f4 (diff) | |
download | u-boot-989c5f0a8f8694ac92eb0d6cff8745ae8659364f.tar.gz |
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/ls1043aqds.h')
-rw-r--r-- | include/configs/ls1043aqds.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h index 4aeb2382fc..398f1c3f77 100644 --- a/include/configs/ls1043aqds.h +++ b/include/configs/ls1043aqds.h @@ -88,6 +88,23 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_SYS_FSL_PBL_RCW board/freescale/ls1043aqds/ls1043aqds_rcw_sd_ifc.cfg #endif +/* 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_SATA AHCI_BASE_ADDR + +#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) + /* * IFC Definitions */ |