On Tue, Jun 21, 2011 at 6:33 PM, Rob Herring <robherri...@gmail.com> wrote:
> From: Rob Herring <rob.herr...@calxeda.com>
>
> Add basic support for Calxeda Highbank platform. Only minimal support to boot
> is included.
>
> Signed-off-by: Jason Hobbs <jason.ho...@calxeda.com>
> Signed-off-by: Rob Herring <rob.herr...@calxeda.com>
> Cc: Albert ARIBAUD <albert.arib...@free.fr>
> ---
>  arch/arm/cpu/armv7/highbank/Makefile  |   46 ++++++++++++
>  arch/arm/cpu/armv7/highbank/config.mk |    4 +
>  arch/arm/cpu/armv7/highbank/timer.c   |  124 
> +++++++++++++++++++++++++++++++++
>  board/highbank/Makefile               |   49 +++++++++++++
>  board/highbank/highbank.c             |   49 +++++++++++++
>  boards.cfg                            |    1 +
>  include/configs/highbank.h            |  101 +++++++++++++++++++++++++++

You should add an entry to MAINTAINERS file.
...

> +int dram_init(void)
> +{
> +       gd->ram_size = SZ_512M;

You could use
 gd->ram_size = get_ram_size((volatile void *)PHYS_SDRAM_1,  PHYS_SDRAM_1_SIZE);

Regards,

Fabio Estevam
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to