summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/kmem_layout.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-07-11 14:33:41 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2018-07-11 15:59:41 -0700
commit2cc15e802b250a11ece57ea54f82993cf3430867 (patch)
treed67e3892c92e077bebeac05db22765376e8de5c1 /arch/xtensa/include/asm/kmem_layout.h
parentadbfa4e6f99689511f1079452508d9d22417544c (diff)
downloadlinux-2cc15e802b250a11ece57ea54f82993cf3430867.tar.bz2
xtensa: platform-specific handling of coherent memory
Memory layout is not fixed for noMMU xtensa configurations. Platforms that need to use coherent DMA should implement platform_vaddr_* helpers that check address type (cached/uncached) and convert addresses between these types. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/kmem_layout.h')
-rw-r--r--arch/xtensa/include/asm/kmem_layout.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/xtensa/include/asm/kmem_layout.h b/arch/xtensa/include/asm/kmem_layout.h
index 2317c835a4db..9c12babc016c 100644
--- a/arch/xtensa/include/asm/kmem_layout.h
+++ b/arch/xtensa/include/asm/kmem_layout.h
@@ -63,12 +63,6 @@
#error XCHAL_KSEG_PADDR is not properly aligned to XCHAL_KSEG_ALIGNMENT
#endif
-#else
-
-#define XCHAL_KSEG_CACHED_VADDR __XTENSA_UL_CONST(0xd0000000)
-#define XCHAL_KSEG_BYPASS_VADDR __XTENSA_UL_CONST(0xd8000000)
-#define XCHAL_KSEG_SIZE __XTENSA_UL_CONST(0x08000000)
-
#endif
#ifndef CONFIG_KASAN