]> git.zerfleddert.de Git - ms2-kexec/blobdiff - omap2_serial.c
remove copy of the omap-serial driver, as the stock on works now
[ms2-kexec] / omap2_serial.c
index 1e0e256ae16a07c45d6c2550111d2bde53b614cc..9d20bccbe7dd6d682ecfd6e50817ee264120892e 100644 (file)
@@ -41,7 +41,6 @@
 #define OMAP_CTRL_REGADDR(reg)            (OMAP2_L4_IO_ADDRESS(OMAP343X_CTRL_BASE) + (reg))
 
 static int (*my_pwrdm_clkdm_state_switch)(struct clockdomain *) = (int (*)(struct clockdomain *))0xc0041370;
-static int (*add_preferred_console)(char *, int, char*) = (int (*)(char*, int, char*))0xc0069208;
 
 
 void omap_ctrl_writew(u16 val, u16 offset)
@@ -192,7 +191,7 @@ static struct platform_device uart2_device = {
 };
 #endif
 static struct platform_device uart3_device = {
-       .name                   = "omap-hs-uart",
+       .name                   = "omap-uart",
        .id                     = 3,
        .num_resources          = ARRAY_SIZE(omap2_uart3_resources),
        .resource               = omap2_uart3_resources,
@@ -234,9 +233,11 @@ static inline void omap_uart_reset(struct omap_uart_state *uart)
 
 static inline void omap_uart_enable_clocks(struct omap_uart_state *uart)
 {
+       printk(KERN_INFO "UART clocked?\n");
        if (uart->clocked)
                return;
 
+       printk(KERN_INFO "enabling clocks\n");
        clk_enable(uart->ick);
        clk_enable(uart->fck);
 
Impressum, Datenschutz