From: Becky Bruce Date: Thu, 12 Feb 2009 13:54:21 -0600 Subject: [U-Boot] [PATCH] MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default In-Reply-To: <1234468072-9131-1-git-send-email-beckyb@kernel.crashing.org> References: <1234468072-9131-1-git-send-email-beckyb@kernel.crashing.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de By the way, this patch depends on Kumar's patch: "85xx: Fix how we map DDR memory" (which itself depends on some other patches....) Cheers, B On Feb 12, 2009, at 1:47 PM, Becky Bruce wrote: > Currently, we get 256MB as the default, but since all the 86xx > board configs define a 2G BAT mapping for RAM, raise default > to 2G. > > Signed-off-by: > --- > include/asm-ppc/config.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/asm-ppc/config.h b/include/asm-ppc/config.h > index fabc268..4be226f 100644 > --- a/include/asm-ppc/config.h > +++ b/include/asm-ppc/config.h > @@ -23,7 +23,7 @@ > > #ifndef CONFIG_MAX_MEM_MAPPED > #if (defined(CONFIG_SDRAM_PPC4xx_IBM_DDR2) && > defined(CONFIG_SPD_EEPROM)) || \ > - defined(CONFIG_E500) > + defined(CONFIG_E500) || defined(CONFIG_MPC86xx) > #define CONFIG_MAX_MEM_MAPPED ((phys_size_t)2u << 30) > #else > #define CONFIG_MAX_MEM_MAPPED (256 << 20) > -- > 1.5.6.6