
On Wed, Aug 11, 2010 at 3:38 AM, Wolfgang Denk wrote:
Traditionally many boards used local definitions for SRAM base address and size (like SRAM_BASE, SRAM_LEN and/or SRAM_SIZE), while the (now) "official" names are CONFIG_SYS_SRAM_BASE and CONFIG_SYS_SRAM_SIZE.
The corresponding code in arch/powerpc/lib/board.c was board specific, and has never actually been maintained well. Replace this by feature- specific code and adapt the boards that actually use this.
NOTE: there is still a ton of boards using the old #defines, which therefor contain incorrect values in bi_sramstart and bi_sramsize.
All respective board maintainers are requested to clean up their respective configurations. Thanks.
#if defined(SRAM_BASE) || defined(SRAM_LEN) || defined(SRAM_SIZE) # warning "your board config.h needs to update its SRAM define names to CONFI_SYS_SRAM_xxx" #endif -mike