]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Cleanup use of CONFIG_SYS_SRAM_BASE and CONFIG_SYS_SRAM_SIZE
authorWolfgang Denk <wd@denx.de>
Wed, 11 Aug 2010 07:38:31 +0000 (09:38 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 19 Sep 2010 17:29:46 +0000 (19:29 +0200)
commit36116650440406f99cc2c309f8f7c8388da46241
treeb2b8cbc4eb56ab7cce709f851fcda8d2f5e801b2
parentbf56080769f13025daaeb80d967eea19e7f78d60
Cleanup use of CONFIG_SYS_SRAM_BASE and CONFIG_SYS_SRAM_SIZE

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@denx.de>
Cc: Josef Wagner <Wagner@Microsys.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
arch/powerpc/lib/board.c
include/configs/CPC45.h
include/configs/IP860.h