diff options
author | Ashish Kumar <Ashish.Kumar@nxp.com> | 2017-11-06 13:18:43 +0530 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-11-15 10:51:46 -0800 |
commit | 099f4093a59c7620841de863d431eab578f5fb24 (patch) | |
tree | 08758247be722705e23a65b86292400801e8a81b /board | |
parent | f65425fb46b890c0ba3fa49cd4ced4c99acb3cfd (diff) | |
download | u-boot-099f4093a59c7620841de863d431eab578f5fb24.tar.gz |
armv8: ls1088ardb: Add SD boot support for ls1088
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Signed-off-by: Raghav Dogra <raghav.dogra@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/ls1088a/MAINTAINERS | 1 | ||||
-rw-r--r-- | board/freescale/ls1088a/ddr.c | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/board/freescale/ls1088a/MAINTAINERS b/board/freescale/ls1088a/MAINTAINERS index e1e6d4bbc5..68f23d6e0a 100644 --- a/board/freescale/ls1088a/MAINTAINERS +++ b/board/freescale/ls1088a/MAINTAINERS @@ -5,6 +5,7 @@ S: Maintained F: board/freescale/ls1088a/ F: include/configs/ls1088ardb.h F: configs/ls1088ardb_qspi_defconfig +F: configs/ls1088ardb_sdcard_qspi_defconfig LS1088AQDS BOARD M: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> diff --git a/board/freescale/ls1088a/ddr.c b/board/freescale/ls1088a/ddr.c index 0ecfd653b4..e24bfd557c 100644 --- a/board/freescale/ls1088a/ddr.c +++ b/board/freescale/ls1088a/ddr.c @@ -96,7 +96,10 @@ int fsl_initdram(void) { puts("Initializing DDR....using SPD\n"); +#if defined(CONFIG_SPL) && !defined(CONFIG_SPL_BUILD) + gd->ram_size = fsl_ddr_sdram_size(); +#else gd->ram_size = fsl_ddr_sdram(); - +#endif return 0; } |