summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPrafulla Wadaskar <prafulla@marvell.com>2010-09-30 19:33:19 +0530
committerPrafulla Wadaskar <prafulla@marvell.com>2010-10-12 14:39:15 +0530
commit6edf0f121f7c681ef32bf02c2c71feb8fd8e304d (patch)
tree06e12d51a9f3a919f029f1d1ee88f6c320c2a173 /include
parent3b467ec4442b0d26e1f037a51cc2cbf75f37e932 (diff)
downloadu-boot-imx-6edf0f121f7c681ef32bf02c2c71feb8fd8e304d.zip
u-boot-imx-6edf0f121f7c681ef32bf02c2c71feb8fd8e304d.tar.gz
u-boot-imx-6edf0f121f7c681ef32bf02c2c71feb8fd8e304d.tar.bz2
Kirkwood: dram_init is moved to dram.c
For all Kirkwood boards so far dram_init function is duplicated dram_init function is moved to dram.c and relevant code from all board specific files removed If any board needs specific dram init handling than standard one, then, a macro CONFIG_SYS_BOARD_DRAM_INIT should be defined in board config header file and the dram_init function can be put in board specific source file For ex. keymile boards Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/keymile-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/keymile-common.h b/include/configs/keymile-common.h
index 6c14ca0..62d21f6 100644
--- a/include/configs/keymile-common.h
+++ b/include/configs/keymile-common.h
@@ -85,6 +85,7 @@
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
#define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
+#define CONFIG_SYS_BOARD_DRAM_INIT /* Used board specific dram_init */
/*
* How to get access to the slot ID. Put this here to make it easy