From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sat, 29 Jan 2011 08:26:26 +0100 Subject: [U-Boot] [PATCH 3/8] orion5x: Increase maximum bank size to 128M In-Reply-To: <1296262841-8819-3-git-send-email-mspang@csclub.uwaterloo.ca> References: <1296262841-8819-1-git-send-email-mspang@csclub.uwaterloo.ca> <1296262841-8819-3-git-send-email-mspang@csclub.uwaterloo.ca> Message-ID: <4D43C122.9020304@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 29/01/2011 02:00, Michael Spang a ?crit : > The TS-7800 has one 128M RAM bank, so the maximum must be increased. > > Signed-off-by: Michael Spang > --- > arch/arm/include/asm/arch-orion5x/orion5x.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/include/asm/arch-orion5x/orion5x.h b/arch/arm/include/asm/arch-orion5x/orion5x.h > index f262ad1..95bb952 100644 > --- a/arch/arm/include/asm/arch-orion5x/orion5x.h > +++ b/arch/arm/include/asm/arch-orion5x/orion5x.h > @@ -64,7 +64,7 @@ > #define MAX_MVGBE_DEVS 1 > #define MVGBE0_BASE ORION5X_EGIGA_BASE > > -#define CONFIG_MAX_RAM_BANK_SIZE (64*1024*1024) > +#define CONFIG_MAX_RAM_BANK_SIZE (128*1024*1024) > > /* include here SoC variants. 5181, 5281, 6183 should go here when > adding support for them, and this comment should then be updated. */ I have a vague memory about trying this with edminiv2 and having issues with getting the right memory size, which probably means there is a bug in orion5x with unmapped memory accesses. Testing will tell. Amicalement, -- Albert.