mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 07:42:38 -04: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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user