]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ppc/platforms/4xx/ocotea.c
Merge branch 'fixes-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville...
[linux-2.6-omap-h63xx.git] / arch / ppc / platforms / 4xx / ocotea.c
index 84e999d9a7bb950494675f6f09dd49c25ed6ffff..28a712cd4800dbdc272e15c2ef0f582ffbce6394 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/tty.h>
 #include <linux/serial.h>
 #include <linux/serial_core.h>
+#include <linux/serial_8250.h>
 
 #include <asm/system.h>
 #include <asm/pgtable.h>
@@ -178,7 +179,7 @@ ocotea_setup_pcix(void)
        /* Setup 2GB PCI->PLB inbound memory window at 0, enable MSIs */
        PCIX_WRITEL(0x00000000, PCIX0_PIM0LAH);
        PCIX_WRITEL(0x00000000, PCIX0_PIM0LAL);
-       PCIX_WRITEL(0xe0000007, PCIX0_PIM0SA);
+       PCIX_WRITEL(0x80000007, PCIX0_PIM0SA);
 
        eieio();
 }
@@ -258,7 +259,7 @@ ocotea_early_serial_map(void)
        gen550_init(0, &port);
 
        /* Purge TLB entry added in head_44x.S for early serial access */
-       _tlbie(UART0_IO_BASE);
+       _tlbie(UART0_IO_BASE, 0);
 #endif
 
        port.membase = ioremap64(PPC440GX_UART1_ADDR, 8);
@@ -289,7 +290,7 @@ ocotea_setup_arch(void)
         * from FPGA, because it can be changed by on-board switches
         * --ebs
         */
-       ibm440gx_get_clocks(&clocks, 33333333, 6 * 1843200);
+       ibm440gx_get_clocks(&clocks, 33300000, 6 * 1843200);
        ocp_sys_info.opb_bus_freq = clocks.opb;
 
        /* Setup TODC access */