diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index d702359f8ab5..b133efc13466 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -216,6 +216,11 @@ config GENERIC_HWEIGHT config FIX_EARLYCON_MEM def_bool MMU +config ILLEGAL_POINTER_VALUE + hex + default 0 if 32BIT + default 0xdead000000000000 if 64BIT + config PGTABLE_LEVELS int default 5 if 64BIT