Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65fedbbe authored by Paul Mundt's avatar Paul Mundt
Browse files

sh64: Fix up early serial fixmap.



This was conditionalized on CONFIG_EARLY_PRINTK, which has subsequently
gone away. Now that the serial driver always supports the early console,
make sure we always establish the mapping.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 191d0d24
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -220,7 +220,6 @@ clear_DTLB:
	add.l	r22, r63, r22		/* Sign extend */
	putcfg	r21, 0, r22		/* Set MMUDR[0].PTEH */

#ifdef CONFIG_EARLY_PRINTK
	/*
	 * Setup a DTLB translation for SCIF phys.
	 */
@@ -231,7 +230,6 @@ clear_DTLB:
	movi    0xfa03, r22	/* 0xfa030000, fixed SCIF virt */
	shori   0x0003, r22
	putcfg  r21, 0, r22	/* PTEH last */
#endif

	/*
	 * Set cache behaviours.