summaryrefslogtreecommitdiff
path: root/board/freescale/mx6qsabreauto/mx6qsabreauto.c
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-05-29 18:01:28 +0800
committerYe.Li <B37916@freescale.com>2014-06-17 11:13:38 +0800
commitec8611129b88d9e303b75def83eb704940ef8e61 (patch)
treec90c60403c4cee8fbd2cde1c0d5341c3291023a7 /board/freescale/mx6qsabreauto/mx6qsabreauto.c
parentc98297092158644a3294d0ced9378b94c0bcdc0d (diff)
downloadu-boot-imx-ec8611129b88d9e303b75def83eb704940ef8e61.zip
u-boot-imx-ec8611129b88d9e303b75def83eb704940ef8e61.tar.gz
u-boot-imx-ec8611129b88d9e303b75def83eb704940ef8e61.tar.bz2
ENGR00315894-1 iMX6q/dl:SABREAUTO/SABRESD: Refactor configurations for more iMX6 boards
1. Make the DDR size configurable based on the boards.cfg 2. Make the FDT file configurable based on the boards.cfg 3. Add DDR and boot configuration script for iMX6dl. Change default boot from SD card. The DDR script has been updated to the v1.5 version from ddr-scripts-rel commit: bfd157a Updated MX6DL and MX6DQ ARD and SabreSD scripts. Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'board/freescale/mx6qsabreauto/mx6qsabreauto.c')
-rw-r--r--board/freescale/mx6qsabreauto/mx6qsabreauto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx6qsabreauto/mx6qsabreauto.c b/board/freescale/mx6qsabreauto/mx6qsabreauto.c
index 5e277aa..43e90b0 100644
--- a/board/freescale/mx6qsabreauto/mx6qsabreauto.c
+++ b/board/freescale/mx6qsabreauto/mx6qsabreauto.c
@@ -59,7 +59,7 @@ DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
- gd->ram_size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE);
+ gd->ram_size = ((ulong)CONFIG_DDR_MB * 1024 * 1024);
return 0;
}