]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Kirkwood: dram_init is moved to dram.c
authorPrafulla Wadaskar <prafulla@marvell.com>
Thu, 30 Sep 2010 14:03:19 +0000 (19:33 +0530)
committerPrafulla Wadaskar <prafulla@marvell.com>
Tue, 12 Oct 2010 09:09:15 +0000 (14:39 +0530)
commit6edf0f121f7c681ef32bf02c2c71feb8fd8e304d
tree06e12d51a9f3a919f029f1d1ee88f6c320c2a173
parent3b467ec4442b0d26e1f037a51cc2cbf75f37e932
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>
arch/arm/cpu/arm926ejs/kirkwood/dram.c
board/Marvell/guruplug/guruplug.c
board/Marvell/mv88f6281gtw_ge/mv88f6281gtw_ge.c
board/Marvell/openrd_base/openrd_base.c
board/Marvell/rd6281a/rd6281a.c
board/Marvell/sheevaplug/sheevaplug.c
include/configs/keymile-common.h