summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/freescale-mx28-evk/lowlevel.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2016-05-09 12:58:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-05-10 08:13:48 +0200
commit5399f211e6f566fc3ee2d1e09c86c07e49b03dd9 (patch)
tree926efa02c5364b653f59e6f871c76a03ab217954 /arch/arm/boards/freescale-mx28-evk/lowlevel.c
parent06f5a7c9ad41a78f6e19eca96574bb3c49d058c8 (diff)
downloadbarebox-5399f211e6f566fc3ee2d1e09c86c07e49b03dd9.tar.gz
barebox-5399f211e6f566fc3ee2d1e09c86c07e49b03dd9.tar.xz
ARM: mxs: add parameter to mx28_mem_init to allow custom memory config
Rename the already global array of default memory settings to make the intended usage more obvious. Also make generous use of the const keyword. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/freescale-mx28-evk/lowlevel.c')
-rw-r--r--arch/arm/boards/freescale-mx28-evk/lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/freescale-mx28-evk/lowlevel.c b/arch/arm/boards/freescale-mx28-evk/lowlevel.c
index 1f567568d..4d45a03ba 100644
--- a/arch/arm/boards/freescale-mx28-evk/lowlevel.c
+++ b/arch/arm/boards/freescale-mx28-evk/lowlevel.c
@@ -47,7 +47,7 @@ static noinline void freescale_mx28evk_init(void)
pr_debug("initializing SDRAM...\n");
- mx28_mem_init();
+ mx28_mem_init(mx28_dram_vals_default);
pr_debug("DONE\n");
}