summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/initialize_mmu.h
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-11-17 08:14:54 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2014-01-15 00:21:24 +0400
commit4809bb468f140d561dfbb785e8dcdda5bae8c1f2 (patch)
tree592d396d2c2f03d6e3d0dc95f4a856cb83f4e4eb /arch/xtensa/include/asm/initialize_mmu.h
parent5f42146e7599e120ee3f5b07d03ea45c633a955a (diff)
xtensa: avoid duplicate of IO range definitions
Define IO addresses in a single place, to make it easier to change for non-standard memory maps. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/initialize_mmu.h')
-rw-r--r--arch/xtensa/include/asm/initialize_mmu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/xtensa/include/asm/initialize_mmu.h b/arch/xtensa/include/asm/initialize_mmu.h
index 722553f17db..a2078a2e547 100644
--- a/arch/xtensa/include/asm/initialize_mmu.h
+++ b/arch/xtensa/include/asm/initialize_mmu.h
@@ -123,13 +123,13 @@
wdtlb a4, a5
witlb a4, a5
- movi a5, 0xe0000006
- movi a4, 0xf0000000 + CA_WRITEBACK
+ movi a5, XCHAL_KIO_CACHED_VADDR + 6
+ movi a4, XCHAL_KIO_PADDR + CA_WRITEBACK
wdtlb a4, a5
witlb a4, a5
- movi a5, 0xf0000006
- movi a4, 0xf0000000 + CA_BYPASS
+ movi a5, XCHAL_KIO_BYPASS_VADDR + 6
+ movi a4, XCHAL_KIO_PADDR + CA_BYPASS
wdtlb a4, a5
witlb a4, a5