]> 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)
committerWolfgang Denk <wd@denx.de>
Wed, 13 Oct 2010 07:36:07 +0000 (09:36 +0200)
commitbeeb2589761d218076b2b5ed5699a08216ca8cf9
tree06e12d51a9f3a919f029f1d1ee88f6c320c2a173
parent500f2ff52a812d6ffd50b81978375116815f7f5b
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