mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-29 06:27:12 +08:00
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> Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
committed by
maoxiaochuan
parent
9b5bb49027
commit
3641f09ab6
@@ -246,7 +246,7 @@ config MACH_LOONGSON64
|
||||
def_bool 64BIT
|
||||
|
||||
config FIX_EARLYCON_MEM
|
||||
def_bool y
|
||||
def_bool !ARCH_IOREMAP
|
||||
|
||||
config PGTABLE_2LEVEL
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user