diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2019-12-01 22:34:19 +0800 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-02-21 15:43:24 +0800 |
commit | f136008f31e91060d6b6e6e031cb2c827448e280 (patch) | |
tree | c3b978edb1107ca151b85c75c729f6f78c543bf4 /arch/csky/include/asm/memory.h | |
parent | csky: Tightly-Coupled Memory or Sram support (diff) | |
download | linux-dev-f136008f31e91060d6b6e6e031cb2c827448e280.tar.xz linux-dev-f136008f31e91060d6b6e6e031cb2c827448e280.zip |
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.h | 3 |
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 |