arm: caches: allow to activate dcache in SPL and in U-Boot pre-reloc
Get series with b4
b4 am 20200428194910.GH4468@bill-the-catVersions newest first
- v2 Latest3 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm: caches: protect dram_bank_mmu_setup access to bi_dram | +0 | 0 replies | |
| 2/3 | arm: caches: add DCACHE_DEFAULT_OPTION | +0 | 0 replies | |
| 3/3 | arm: caches: manage phys_addr_t overflow in mmu_set_region_dcache_behaviour | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] arm: caches: allow to activate dcache in SPL and in U-Boot pre-reloc
Quoted 28 lines · Patrick Delaunay
Hi
It is a V2 serie after Marek feedback for
http://patchwork.ozlabs.org/project/uboot/list/?series=168378This serie allows dcache activation in SPL or in U-Boot preloc stage for ARM board.
See "arm: stm32mp1: activate data cache in SPL and before relocation" for example of usage in SPL and in U-Boot pre-reloc of the function
dcache_enable()and ofmmu_set_region_dcache_behaviour().A branch named "dcache" with the needed patches for stm32mp1 boards is available in:
https://gitlab.denx.de/u-boot/custodians/u-boot-stm.gitChanges in v2:
- update patch after Marek's proposal. but I just divided by 2 instead of 4kB (minimal MMU page size)Patrick Delaunay (3):
arm: caches: protectdram_bank_mmu_setupaccess tobi_dram
arm: caches: addDCACHE_DEFAULT_OPTION
arm: caches: managephys_addr_toverflow in
mmu_set_region_dcache_behaviour
Quoted 3 lines
arch/arm/include/asm/system.h | 8 ++++++++ arch/arm/lib/cache-cp15.c | 20 ++++++++++---------- 2 files changed, 18 insertions(+), 10 deletions(-)
All in all, I like it, good work. I'll pick it up not right now but before -rc2. Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200428/b08d7ad8/attachment.sig>