diff options
author | Anup Patel <anup.patel@wdc.com> | 2019-01-07 18:27:01 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-02-21 08:56:42 +0300 |
commit | f2c17aabc917e1092eedb16fa2b8891e9379f7e6 (patch) | |
tree | 263b4020a36643cbc07ede2630e67f60801550bd /arch/riscv/Kconfig | |
parent | 6f1e9e946f0bc32cf55a7d7c36f80cb365e1877a (diff) | |
download | linux-f2c17aabc917e1092eedb16fa2b8891e9379f7e6.tar.xz |
RISC-V: Implement compile-time fixed mappings
This patch implements compile-time virtual to physical mappings. These
compile-time fixed mappings can be used by earlycon, ACPI, and early
ioremap for creating fixed mappings when FIX_EARLYCON_MEM=y.
To start with, we have enabled compile-time fixed mappings for earlycon.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r-- | arch/riscv/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index b60f4e3e36f4..ceed055179c8 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -89,6 +89,9 @@ config GENERIC_CSUM config GENERIC_HWEIGHT def_bool y +config FIX_EARLYCON_MEM + def_bool y + config PGTABLE_LEVELS int default 3 if 64BIT |