From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 1 Aug 2012 09:19:15 -0700 Subject: [U-Boot] [PATCH V2 03/13] ARM: bcm2835: add Raspberry Pi model B board In-Reply-To: <1343794423-30553-4-git-send-email-swarren@wwwdotorg.org> References: <1343794423-30553-1-git-send-email-swarren@wwwdotorg.org> <1343794423-30553-4-git-send-email-swarren@wwwdotorg.org> Message-ID: <20120801161915.GA16076@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jul 31, 2012 at 10:13:33PM -0600, Stephen Warren wrote: > The Raspberry Pi model B uses the BCM2835 SoC, has 256MB of RAM, contains > an SMSC 9512 USB LAN/Hub chip, and various IO connectors. For more details, > see http://www.raspberrypi.org/. > > Signed-off-by: Stephen Warren [snip] > +int dram_init(void) > +{ > + gd->ram_size = SZ_256M; > + > + return 0; > +} You should use get_ram_size(CONFIG_SYS_SDRAM_BASE, max-possible-dram-size); I say this as I just found a "oh, so that's why mainline reports the right amount of memory and other tree does not" bug yesterday. This should also be in the SoC-generic code area (like say arch/arm/cpu/arm1176/bcm2835/board.c). Sorry I didn't spot this last go-round. [snip] > +#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } This is the table now in which is auto-included. > +#define CONFIG_SYS_PROMPT_HUSH_PS2 "> " This is now the default prompt value, so you can drop this line. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: