summaryrefslogtreecommitdiff
path: root/arch/csky/include/asm/memory.h
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2019-12-01 22:34:19 +0800
committerGuo Ren <guoren@linux.alibaba.com>2020-02-21 15:43:24 +0800
commitf136008f31e91060d6b6e6e031cb2c827448e280 (patch)
treec3b978edb1107ca151b85c75c729f6f78c543bf4 /arch/csky/include/asm/memory.h
parentf525bb2c9e7cf1e3c43ab57704c9e1c836d30b34 (diff)
downloadlinux-sh-f136008f31e91060d6b6e6e031cb2c827448e280.tar.gz
csky: Separate fixaddr_init from highmem
After fixaddr_init is separated from highmem, we could use tcm without highmem selected. (610 (abiv1) don't support highmem, but it could use tcm now.) Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky/include/asm/memory.h')
-rw-r--r--arch/csky/include/asm/memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/csky/include/asm/memory.h b/arch/csky/include/asm/memory.h
index cdffbd0a500b..a65c6759f537 100644
--- a/arch/csky/include/asm/memory.h
+++ b/arch/csky/include/asm/memory.h
@@ -9,6 +9,9 @@
#include <linux/sizes.h>
#define FIXADDR_TOP _AC(0xffffc000, UL)
+#define PKMAP_BASE _AC(0xff800000, UL)
+#define VMALLOC_START _AC(0xc0008000, UL)
+#define VMALLOC_END (PKMAP_BASE - (PAGE_SIZE * 2))
#ifdef CONFIG_HAVE_TCM
#ifdef CONFIG_HAVE_DTCM