diff options
| author | Lokesh Vutla <lokeshvutla@ti.com> | 2018-11-02 19:51:03 +0530 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2018-11-16 16:51:58 -0500 |
| commit | 23f7b1a77602d335811aea80af1cacf5bff502af (patch) | |
| tree | 189fd738a698c084c535e185a88d92be717e921e /arch/arm/mach-k3/common.h | |
| parent | 06bda1259ffc3ef899de70c7fb86b0982a2912f0 (diff) | |
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>
Diffstat (limited to 'arch/arm/mach-k3/common.h')
| -rw-r--r-- | arch/arm/mach-k3/common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common.h b/arch/arm/mach-k3/common.h new file mode 100644 index 00000000000..ac7e80d9af2 --- /dev/null +++ b/arch/arm/mach-k3/common.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * K3: Architecture common definitions + * + * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ + * Lokesh Vutla <lokeshvutla@ti.com> + */ + +#include <asm/armv7_mpu.h> + +void setup_k3_mpu_regions(void); |
