]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: OMAP4: Bypass the clock check.
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Sat, 22 Aug 2009 08:00:12 +0000 (13:30 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 2 Sep 2009 22:07:54 +0000 (15:07 -0700)
Second reason of OMAP4 boot failure on 2.6.31.rc6, the UART
platform data is not getting registered to kernel.
Registration was failing because of clock check failure in
omap_serial_init().
Below patch fix the same.

OMAP4 clock framework patches are still getting discussed on mailing
list so till then we need this.

Signed-off-by: Syed Rafiuddin <rafiuddin.syed@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/serial.c

index 645546cbd265a9020d6c17ca8f7bf26a48b4593a..0f508109adcc7326e2f57affa55809b6015a7695 100644 (file)
@@ -609,8 +609,11 @@ void __init omap_serial_init(void)
                        uart->fck = NULL;
                }
 
-               if (!uart->ick || !uart->fck)
-                       continue;
+               /* FIXME: Remove this once the clkdev is ready */
+               if (!cpu_is_omap44xx()) {
+                       if (!uart->ick || !uart->fck)
+                               continue;
+               }
 
                uart->num = i;
                p->private_data = uart;