LoongArch: Disable FIX_EARLYCON_MEM when ARCH_IOREMAP is enabled

When ARCH_IOREMAP is enabled, we are using always accessible DMW for
ioremap(). It makes no sense to create a dedicated mapping for earlycon
given that we can access the region via DMW.

Disable FIX_EARLYCON_MEM when ARCH_IOREMAP is selected. This can ease
debugging for early mapping issues.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
This commit is contained in:
Jiaxun Yang 2025-01-25 18:51:33 +08:00 committed by Huacai Chen
parent c91ddab579
commit 341cf992d3

View file

@ -245,7 +245,7 @@ config MACH_LOONGSON64
def_bool 64BIT
config FIX_EARLYCON_MEM
def_bool y
def_bool !ARCH_IOREMAP
config PGTABLE_2LEVEL
bool