Skip to content

Commit

Permalink
ARM: OMAP4: Bypass the clock check.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Santosh Shilimkar authored and Kevin Hilman committed Sep 2, 2009
1 parent 0e3eaad commit aae290f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions arch/arm/mach-omap2/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aae290f

Please sign in to comment.