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>
This commit is contained in:
parent
191d0d24b6
commit
65fedbbef8
@ -220,7 +220,6 @@ clear_DTLB:
|
|||||||
add.l r22, r63, r22 /* Sign extend */
|
add.l r22, r63, r22 /* Sign extend */
|
||||||
putcfg r21, 0, r22 /* Set MMUDR[0].PTEH */
|
putcfg r21, 0, r22 /* Set MMUDR[0].PTEH */
|
||||||
|
|
||||||
#ifdef CONFIG_EARLY_PRINTK
|
|
||||||
/*
|
/*
|
||||||
* Setup a DTLB translation for SCIF phys.
|
* Setup a DTLB translation for SCIF phys.
|
||||||
*/
|
*/
|
||||||
@ -231,7 +230,6 @@ clear_DTLB:
|
|||||||
movi 0xfa03, r22 /* 0xfa030000, fixed SCIF virt */
|
movi 0xfa03, r22 /* 0xfa030000, fixed SCIF virt */
|
||||||
shori 0x0003, r22
|
shori 0x0003, r22
|
||||||
putcfg r21, 0, r22 /* PTEH last */
|
putcfg r21, 0, r22 /* PTEH last */
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set cache behaviours.
|
* Set cache behaviours.
|
||||||
|
Loading…
Reference in New Issue
Block a user