riscv: Fix use of undefined config option CONFIG_CONFIG_MMU
authorAndreas Schwab <schwab@suse.de>
Tue, 17 Dec 2019 11:15:16 +0000 (12:15 +0100)
committerPaul Walmsley <paul.walmsley@sifive.com>
Fri, 20 Dec 2019 11:32:24 +0000 (03:32 -0800)
In Kconfig files, config options are written without the CONFIG_ prefix.

Fixes: 6bd33e1ece52 ("riscv: add nommu support")
Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/Kconfig

index 759ffb00267cf1235cf6b40320994734d571ef7a..d8efbaa78d67602bf46ff73a89cdd33f2381dd16 100644 (file)
@@ -154,7 +154,7 @@ config GENERIC_HWEIGHT
        def_bool y
 
 config FIX_EARLYCON_MEM
-       def_bool CONFIG_MMU
+       def_bool MMU
 
 config PGTABLE_LEVELS
        int