[U-Boot] [PATCH] Marvell Kirkwood family SOC support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Apr 4 18:24:37 CEST 2009


Hi,

I'll provide you two seperate comment one for the file location
and global comment and an other for code review

On 04:09 Sat 04 Apr     , Prafulla Wadaskar wrote:
> From: prafulla_wadaskar <prafulla at marvell.com>
> 
> Kirkwood family controllers are highly integrated SOCs
> based on Feroceon-88FR131/Sheeva-88SV131 cpu core.
> 
> SOC versions supported:-
> 1) 88F6281-Z0       define CONFIG_KW88F6281_Z0
> 2) 88F6281-A0       define CONFIG_KW88F6281_A0
> 3) 88F6192-A0       define CONFIG_KW88F6192_A0
> 
> Other supported features:-
> 1) Doimage utility needed to create binaries with
>    bootROM header
> 2) get_random_hex() fucntion
> 3) SPI port controller driver
> 4) PCI Express port initialization
> 
> Contributors:
> Yotam Admon <yotam at marvell.com>
> Michael Blostein <michaelbl at marvell.com
> 
> Signed-off-by: prafulla_wadaskar <prafulla at marvell.com>
> Reviewed by: Ronen Shitrit <rshitrit at marvell.com>
> ---
>  board/Marvell/common/kw_lowlevel_init.S        |   45 +
is this init are Marvell common or Kirkwood common?
>  board/Marvell/include/core.h                   |    4 +
>  cpu/arm926ejs/kirkwood/Makefile                |   52 +
>  cpu/arm926ejs/kirkwood/bin_dep.sh              |   50 +
what it this file?
>  cpu/arm926ejs/kirkwood/config.mk               |   25 +
>  cpu/arm926ejs/kirkwood/doimage/Makefile        |  112 ++
tools must go to tools/
>  cpu/arm926ejs/kirkwood/doimage/bootstrap_def.h |   88 ++
>  cpu/arm926ejs/kirkwood/doimage/doimage         |  Bin 0 -> 17712 bytes
please remove and a .gitignore entry for it
>  cpu/arm926ejs/kirkwood/doimage/doimage.c       | 1341 ++++++++++++++++++++++++
>  cpu/arm926ejs/kirkwood/dram.c                  |   49 +
>  cpu/arm926ejs/kirkwood/kw88f6192.h             |   34 +
please move define to include/asm-arm/arch-<somthing>
the same as linux
>  cpu/arm926ejs/kirkwood/kw88f6281.h             |   34 +
>  cpu/arm926ejs/kirkwood/kwcore.c                |  262 +++++
>  cpu/arm926ejs/kirkwood/kwcore.h                |  141 +++
>  cpu/arm926ejs/kirkwood/serial.c                |  187 ++++
please move to drivers/serial/
>  cpu/arm926ejs/kirkwood/soc_init.S              |  156 +++
please call it lowlevel_init.S
>  cpu/arm926ejs/kirkwood/spi.c                   |  213 ++++
please move to drivers/spi/
>  cpu/arm926ejs/kirkwood/timer.c                 |  165 +++
>  include/configs/kirkwood.h                     |   46 +
include/configs/ are only for boards config

Best Regards,
J.


More information about the U-Boot mailing list