]> git.baikalelectronics.ru Git - uboot.git/commit
armv7R: K3: am654: Enable MPU regions
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 2 Nov 2018 14:21:03 +0000 (19:51 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 21:51:58 +0000 (16:51 -0500)
commit3e4db18645c87b2aa597fb07e967244fa89c8599
tree189fd738a698c084c535e185a88d92be717e921e
parent503d42a47bf2d99f30e76918490b37e444b57777
armv7R: K3: am654: Enable MPU regions

Enable MPU regions for AM654 evm:
- Region0: 0x00000000 - 0xFFFFFFFF: Device memory, not executable
- Region1: 0x41c00000 - 0x42400000: Normal, executable, WB, Write alloc
- Region2: 0x80000000 - 0xFFFFFFFF: Normal, executable, WB, Write alloc
- region3-15: Disabled

With this dcache can be enabled either in SPL or U-Boot.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/Makefile
arch/arm/mach-k3/am6_init.c
arch/arm/mach-k3/common.h [new file with mode: 0644]
arch/arm/mach-k3/r5_mpu.c [new file with mode: 0644]