mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-13 14:06:07 -04:00
ppc4xx: Fix problem with CONFIG_MAX_MEM_MAPPED in include/asm-ppc/config.h
CONFIG_SDRAM_PPC4xx_IBM_DDR2 is not set when include/asm-ppc/config.h is included. So for katmai, CONFIG_MAX_MEM_MAPPED will get set to 256MB. It makes perfect sense to set CONFIG_MAX_MEM_MAPPED to 2GB for all PPC4xx boards right now. Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
f15c6515fc
commit
2ede879fcb
@ -22,7 +22,7 @@
|
|||||||
#define _ASM_CONFIG_H_
|
#define _ASM_CONFIG_H_
|
||||||
|
|
||||||
#ifndef CONFIG_MAX_MEM_MAPPED
|
#ifndef CONFIG_MAX_MEM_MAPPED
|
||||||
#if defined(CONFIG_SDRAM_PPC4xx_IBM_DDR2) && defined(CONFIG_SPD_EEPROM)
|
#if defined(CONFIG_4xx)
|
||||||
#define CONFIG_MAX_MEM_MAPPED ((phys_size_t)2 << 30)
|
#define CONFIG_MAX_MEM_MAPPED ((phys_size_t)2 << 30)
|
||||||
#else
|
#else
|
||||||
#define CONFIG_MAX_MEM_MAPPED (256 << 20)
|
#define CONFIG_MAX_MEM_MAPPED (256 << 20)
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_PHYS_64BIT
|
#define CONFIG_PHYS_64BIT
|
||||||
#define CONFIG_VERY_BIG_RAM
|
#define CONFIG_VERY_BIG_RAM
|
||||||
#define CONFIG_MAX_MEM_MAPPED ((phys_size_t)2 << 30)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Include common defines/options for all AMCC eval boards
|
* Include common defines/options for all AMCC eval boards
|
||||||
|
Loading…
x
Reference in New Issue
Block a user