From: Wolfgang Denk Date: Sun, 12 Sep 2010 21:09:48 +0200 Subject: [U-Boot] [PATCH v2] Cleanup use of CONFIG_SYS_SRAM_BASE and CONFIG_SYS_SRAM_SIZE In-Reply-To: <1284234142-10234-1-git-send-email-wd@denx.de> References: <1281512311-30701-1-git-send-email-wd@denx.de> <1284234142-10234-1-git-send-email-wd@denx.de> Message-ID: <20100912190948.DD3D215242D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1284234142-10234-1-git-send-email-wd@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 > Cc: Josef Wagner > Cc: Stefan Roese > Cc: Heiko Schocher > Cc: Wolfgang Denk > --- > 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.