diff options
author | Scott Wood <scottwood@freescale.com> | 2015-03-24 13:25:02 -0700 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-04-23 16:46:50 -0700 |
commit | b2d5ac59859fa946e47fb6ab1f4f3486d4988680 (patch) | |
tree | 6c148fbcd0a66138d4d98dcf050df44d24fbef06 /board/freescale | |
parent | 39b0bbbb23076a7109eeb20b6ae812edcd60ffc2 (diff) | |
download | u-boot-imx-b2d5ac59859fa946e47fb6ab1f4f3486d4988680.zip u-boot-imx-b2d5ac59859fa946e47fb6ab1f4f3486d4988680.tar.gz u-boot-imx-b2d5ac59859fa946e47fb6ab1f4f3486d4988680.tar.bz2 |
armv8/ls2085aqds: NAND boot support
This adds NAND boot support for LS2085AQDS, using SPL framework.
Details of forming NAND image can be found in README.
Signed-off-by: Scott Wood <scottwood@freescale.com>
[York Sun: Remove +S from defconfig after commit 252ed872]
Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/ls2085aqds/MAINTAINERS | 1 | ||||
-rw-r--r-- | board/freescale/ls2085aqds/ddr.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/board/freescale/ls2085aqds/MAINTAINERS b/board/freescale/ls2085aqds/MAINTAINERS index 74b3721..fbed672 100644 --- a/board/freescale/ls2085aqds/MAINTAINERS +++ b/board/freescale/ls2085aqds/MAINTAINERS @@ -5,3 +5,4 @@ F: board/freescale/ls2085aqds/ F: board/freescale/ls2085a/ls2085aqds.c F: include/configs/ls2085aqds.h F: configs/ls2085aqds_defconfig +F: configs/ls2085aqds_nand_defconfig diff --git a/board/freescale/ls2085aqds/ddr.c b/board/freescale/ls2085aqds/ddr.c index 6cd5e8b..8d71ae1 100644 --- a/board/freescale/ls2085aqds/ddr.c +++ b/board/freescale/ls2085aqds/ddr.c @@ -147,9 +147,13 @@ phys_size_t initdram(int board_type) { phys_size_t dram_size; +#if defined(CONFIG_SPL) && !defined(CONFIG_SPL_BUILD) + return fsl_ddr_sdram_size(); +#else puts("Initializing DDR....using SPD\n"); dram_size = fsl_ddr_sdram(); +#endif return dram_size; } |