[U-Boot] [PATCH 1/5] ARM: Add Calxeda Highbank platform

Rob Herring robherring2 at gmail.com
Wed Jun 22 00:32:59 CEST 2011


On 06/21/2011 05:22 PM, Fabio Estevam wrote:
> On Tue, Jun 21, 2011 at 6:33 PM, Rob Herring <robherring2 at gmail.com> wrote:
>> From: Rob Herring <rob.herring at calxeda.com>
>>
>> Add basic support for Calxeda Highbank platform. Only minimal support to boot
>> is included.
>>
>> Signed-off-by: Jason Hobbs <jason.hobbs at calxeda.com>
>> Signed-off-by: Rob Herring <rob.herring at calxeda.com>
>> Cc: Albert ARIBAUD <albert.aribaud at 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);

Except that does not work on qemu, and qemu can't model all of ram. So I
need to limit the ram size, but have the same image work on h/w and qemu.

Rob



More information about the U-Boot mailing list