mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
common/board_r: Fix booting issue on T4240QDS
Commit 294b91a581
moved initr_malloc
earlier than initr_unlock_ram_in_cache. This causes issue on T4240.
It may be related to locked L1 d-cache and unlocked L2 cache. D-
cache could and should be unlock earlier for normal operation.
This patch moves initr_unlock_ram_in_cache before initr_malloc. It
has been verified on the following boards, in which only T4240QDS
suffered and has been since fixed: T4240QDS, T2080QDS, P5040DS,
P4080DS, MPC8572DS, MPC8536DS, MPC8641HPCN, B4860QDS.
Signed-off-by: York Sun <yorksun@freescale.com>
CC: Scott Wood <scottwood@freescale.com>
CC: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
64a0c24726
commit
fef3e25fc3
1 changed files with 3 additions and 3 deletions
|
@ -717,6 +717,9 @@ init_fnc_t init_sequence_r[] = {
|
|||
initr_caches,
|
||||
#endif
|
||||
initr_reloc_global_data,
|
||||
#if defined(CONFIG_SYS_INIT_RAM_LOCK) && defined(CONFIG_E500)
|
||||
initr_unlock_ram_in_cache,
|
||||
#endif
|
||||
initr_barrier,
|
||||
initr_malloc,
|
||||
bootstage_relocate,
|
||||
|
@ -759,9 +762,6 @@ init_fnc_t init_sequence_r[] = {
|
|||
#ifdef CONFIG_SYS_DELAYED_ICACHE
|
||||
initr_icache_enable,
|
||||
#endif
|
||||
#if defined(CONFIG_SYS_INIT_RAM_LOCK) && defined(CONFIG_E500)
|
||||
initr_unlock_ram_in_cache,
|
||||
#endif
|
||||
#if defined(CONFIG_PCI) && defined(CONFIG_SYS_EARLY_PCI_INIT)
|
||||
/*
|
||||
* Do early PCI configuration _before_ the flash gets initialised,
|
||||
|
|
Loading…
Reference in a new issue