[U-Boot] [PATCH v2] Cleanup use of CONFIG_SYS_SRAM_BASE and CONFIG_SYS_SRAM_SIZE
Wolfgang Denk
wd at denx.de
Sun Sep 12 21:09:48 CEST 2010
In message <1284234142-10234-1-git-send-email-wd at denx.de> you 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.
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Josef Wagner <Wagner at Microsys.de>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Wolfgang Denk <wd at denx.de>
> ---
> V2: fixed bug in CPC45 config file (did not compile)
>
> arch/powerpc/lib/board.c | 9 +++------
> include/configs/CPC45.h | 5 +++--
> include/configs/IP860.h | 2 ++
> 3 files changed, 8 insertions(+), 8 deletions(-)
Applied to "next" branch.
More information about the U-Boot
mailing list