]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh64: Fix up early serial fixmap.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 12 Jan 2010 06:22:26 +0000 (15:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 12 Jan 2010 06:22:26 +0000 (15:22 +0900)
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>
arch/sh/kernel/head_64.S

index 3ea765844c74838ff0c26ac5cf1730d26e449ec0..defd851abefa5c48f5972c1f063256e3ef5fe985 100644 (file)
@@ -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.