Skip to content

Commit 65fedbb

Browse files
committed
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: Paul Mundt <lethal@linux-sh.org>
1 parent 191d0d2 commit 65fedbb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎arch/sh/kernel/head_64.S‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ clear_DTLB:
220220
add.l r22, r63, r22 /* Sign extend */
221221
putcfg r21, 0, r22 /* Set MMUDR[0].PTEH */
222222

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

236234
/*
237235
* Set cache behaviours.

0 commit comments

Comments
 (0)