mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-08-17 10:46:16 -04:00
ppc4xx: Invalidate d-cache when used as init-ram
We need to invalidate the data cache after it has been used as init-ram. This problem was detected on the lwmon5 update. Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
c1ab75c7d4
commit
f3cac53840
@ -1459,6 +1459,11 @@ relocate_code:
|
|||||||
mtspr SPRN_DTV3,r6
|
mtspr SPRN_DTV3,r6
|
||||||
msync
|
msync
|
||||||
isync
|
isync
|
||||||
|
|
||||||
|
/* Invalidate data cache, now no longer our stack */
|
||||||
|
dccci 0,0
|
||||||
|
sync
|
||||||
|
isync
|
||||||
#endif /* CONFIG_SYS_INIT_RAM_DCACHE */
|
#endif /* CONFIG_SYS_INIT_RAM_DCACHE */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user