> -----Original Message-----
> From: Prafulla Wadaskar [mailto:[email protected]] 
> Sent: Thursday, October 07, 2010 8:29 PM
> To: [email protected]
> Cc: Prabhanjan Sarnaik; Ashish Karkare; Prafulla Wadaskar
> Subject: [PATCH V2 1/3] 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 <[email protected]>
> ---
> Changelog
> v2:
> dram_init only performed for consecutive memory
> removed CONFIG_SYS_WITHOUT_RELOC dependency
> dram_init_banksize added to avoid re-configuration of dram bank 0
> 
>  arch/arm/cpu/arm926ejs/kirkwood/dram.c          |   38 
> +++++++++++++++++++++++
>  board/Marvell/guruplug/guruplug.c               |   11 ------
>  board/Marvell/mv88f6281gtw_ge/mv88f6281gtw_ge.c |   11 ------
>  board/Marvell/openrd_base/openrd_base.c         |   11 ------
>  board/Marvell/rd6281a/rd6281a.c                 |   11 ------
>  board/Marvell/sheevaplug/sheevaplug.c           |   11 ------
>  include/configs/keymile-common.h                |    1 +
>  7 files changed, 39 insertions(+), 55 deletions(-)
> 

Applied to u-boot-marvell.git master branch

Regards.
Prafulla . .
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to