LoongArch: Disable FIX_EARLYCON_MEM when ARCH_IOREMAP is enabled
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Sat, 25 Jan 2025 10:51:33 +0000 (18:51 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Jan 2025 10:51:33 +0000 (18:51 +0800)
commit341cf992d331a34d764bf943e4e177daff94fc92
tree0d735802a4cf2441c2e8590aaad724daf8d58b61
parentc91ddab5799109124ccdfa88fd381c613a766a89
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>
arch/loongarch/Kconfig