[U-Boot] [PATCH v3] powerpc/85xx: Introduce CONFIG_SYS_EXTRA_ENV_RELOC

Wolfgang Denk wd at denx.de
Tue Nov 30 22:09:23 CET 2010


Dear Kumar Gala,

In message <1291062731-11647-1-git-send-email-galak at kernel.crashing.org> you wrote:
> Some systems need to relocate the env_addr pointer early because the
> location it points to will get invalidated before env_relocate is
> called.  One example is on systems that might use a L2 or L3 cache
> in SRAM mode and initialize that cache from SRAM mode back to being
> a cache in cpu_init_r.
> 
> We set this on the 85xx boards that have support for NAND, SPI, or
> SDHC/MMC boot support as they use a secondary cache in SRAM mode and
> need the env_addr pointer relocated since we change from SRAM to normal
> cache mode in cpu_init_r.
> 
> Also removed CONFIG_SYS_SPL as its not used anywhere.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> * Removed CONFIG_SYS_SPL as its not used anywhere
> 
>  arch/powerpc/lib/board.c     |   11 +++++++++++
>  include/configs/MPC8536DS.h  |    5 +++--
>  include/configs/MPC8569MDS.h |    3 ++-
>  include/configs/P1_P2_RDB.h  |    5 +++--
>  4 files changed, 19 insertions(+), 5 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
As of 1992, they're called European Economic Community fries.


More information about the U-Boot mailing list