diff options
author | Tom Rini <trini@konsulko.com> | 2021-03-03 14:05:43 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-03 14:05:43 -0500 |
commit | 5a9d8633e5e5f5253010480fb0db3742b0ea1356 (patch) | |
tree | 6cef337796d50552504a3f0b90e07d32d2d88190 /arch/arm/mach-omap2/omap-cache.c | |
parent | c5219c4a18f2b27547ecd799914f94e48b0fa86f (diff) | |
parent | 63af92e837f3d7c21ab5fc4a96ffcbf202efaf90 (diff) |
Merge branch '2021-03-03-assorted-improvements' into next
- Clean up reset_cpu()
- Assorted arm cp15 cleanups
- Assorted cleanups throughout the tree from Simon
- TPM1 / TPM2 cleanups
Diffstat (limited to 'arch/arm/mach-omap2/omap-cache.c')
-rw-r--r-- | arch/arm/mach-omap2/omap-cache.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/mach-omap2/omap-cache.c b/arch/arm/mach-omap2/omap-cache.c index 1b246f844a8..36db5882433 100644 --- a/arch/arm/mach-omap2/omap-cache.c +++ b/arch/arm/mach-omap2/omap-cache.c @@ -41,9 +41,6 @@ DECLARE_GLOBAL_DATA_PTR; #define ARMV7_DCACHE_POLICY DCACHE_WRITEBACK & ~TTB_SECT_XN_MASK #endif -#define ARMV7_DOMAIN_CLIENT 1 -#define ARMV7_DOMAIN_MASK (0x3 << 0) - void enable_caches(void) { @@ -67,17 +64,3 @@ void dram_bank_mmu_setup(int bank) for (i = start; i < end; i++) set_section_dcache(i, ARMV7_DCACHE_POLICY); } - -void arm_init_domains(void) -{ - u32 reg; - - reg = get_dacr(); - /* - * Set DOMAIN to client access so that all permissions - * set in pagetables are validated by the mmu. - */ - reg &= ~ARMV7_DOMAIN_MASK; - reg |= ARMV7_DOMAIN_CLIENT; - set_dacr(reg); -} |