u-boot-brain/arch
Patrick Delaunay c8ec1e3ff5 arm: caches: protect dram_bank_mmu_setup access to bi_dram
Add protection in dram_bank_mmu_setup() to avoid access to bd->bi_dram
before relocation.

This patch allow to use the generic weak function dram_bank_mmu_setup
to activate the MMU and the data cache in SPL or in U-Boot before
relocation, when bd->bi_dram is not yet initialized.

In this cases, the MMU must be initialized explicitly with
mmu_set_region_dcache_behaviour function.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
2020-05-01 11:34:01 -04:00
..
arc ARC: AXS10x: cleanup kconfig 2020-04-27 15:04:42 +03:00
arm arm: caches: protect dram_bank_mmu_setup access to bi_dram 2020-05-01 11:34:01 -04:00
m68k kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
microblaze Kconfig: Remove redundant variable sets 2020-03-16 16:42:50 -04:00
mips mips: Add support for SoM "VoCore2". 2020-04-27 20:30:14 +02:00
nds32 dma-mapping: move dma_map_(un)single() to <linux/dma-mapping.h> 2020-02-19 21:27:30 +08:00
nios2 common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
powerpc phy: add support for backplane kr mode 2020-04-20 13:35:11 +05:30
riscv sifive: fu540: Enable spi-nor flash support 2020-04-30 22:34:20 +05:30
sandbox acpi: Add an acpi command 2020-04-30 17:16:12 +08:00
sh dma-mapping: add <asm/dma-mapping.h> for all architectures 2020-02-20 15:09:54 +08:00
x86 x86: Use the existing stack when chain-loading 2020-04-30 17:48:17 +08:00
xtensa dma-mapping: add <asm/dma-mapping.h> for all architectures 2020-02-20 15:09:54 +08:00
.gitignore
Kconfig sandbox: implement ft_board_setup() 2020-04-16 08:07:58 -06:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00