Skip to content

Commit 341cf99

Browse files
FlyGoatchenhuacai
authored andcommitted
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 <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent c91ddab commit 341cf99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/loongarch/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ config MACH_LOONGSON64
245245
def_bool 64BIT
246246

247247
config FIX_EARLYCON_MEM
248-
def_bool y
248+
def_bool !ARCH_IOREMAP
249249

250250
config PGTABLE_2LEVEL
251251
bool

0 commit comments

Comments
 (0)