From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Date: Tue, 21 Jun 2011 17:32:59 -0500 Subject: [U-Boot] [PATCH 1/5] ARM: Add Calxeda Highbank platform In-Reply-To: References: <1308692003-2488-1-git-send-email-robherring2@gmail.com> <1308692003-2488-2-git-send-email-robherring2@gmail.com> Message-ID: <4E011C1B.3010802@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/21/2011 05:22 PM, Fabio Estevam wrote: > On Tue, Jun 21, 2011 at 6:33 PM, Rob Herring wrote: >> From: Rob Herring >> >> Add basic support for Calxeda Highbank platform. Only minimal support to boot >> is included. >> >> Signed-off-by: Jason Hobbs >> Signed-off-by: Rob Herring >> Cc: Albert ARIBAUD >> --- >> 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