OMAP2: serial.c: Fix number of uarts in early_init
authorThomas Weber <swirl@gmx.li>
Thu, 25 Feb 2010 09:40:19 +0000 (09:40 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Mar 2010 22:50:00 +0000 (14:50 -0800)
The omap_serial_early_init prints the following errors:

Could not get uart4_ick
Could not get uart4_fck

because all the uarts available in omap_uart[] will be initialized.
Only omap4430 and omap3630 have 4 uarts at the moment.
This patch reduces the number of uarts when cpu is not omap4430 or
omap3630.

Signed-off-by: Thomas Weber <weber@corscience.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found