diff options
author | Afzal Mohammed <afzal@ti.com> | 2011-12-13 13:46:43 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-13 13:46:43 -0500 |
commit | 1e6cb146c39cdef1ffc340c13637fce2ba5575be (patch) | |
tree | 405d04dd8310f3445d83f47fda1b7bcda47daaa8 /arch/arm/mach-omap2/serial.c | |
parent | 995411953604e3c973328dda8c7807e45aca0f2b (diff) |
ARM: OMAP: am33xx: Update common OMAP machine specific sources
This patch updates the common machine specific source files for
support for AM33XX/AM335x with cpu type, macros for identification of
AM33XX/AM335X device.
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
[tony@atomide.com: updated for map_io and common.h changes, dropped CK_AM33XX]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 42c326732a29..9770c7624aa0 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -464,7 +464,7 @@ static void omap_uart_idle_init(struct omap_uart_state *uart) | |||
464 | mod_timer(&uart->timer, jiffies + uart->timeout); | 464 | mod_timer(&uart->timer, jiffies + uart->timeout); |
465 | omap_uart_smart_idle_enable(uart, 0); | 465 | omap_uart_smart_idle_enable(uart, 0); |
466 | 466 | ||
467 | if (cpu_is_omap34xx() && !cpu_is_ti816x()) { | 467 | if (cpu_is_omap34xx() && !(cpu_is_ti816x() || cpu_is_am33xx())) { |
468 | u32 mod = (uart->num > 1) ? OMAP3430_PER_MOD : CORE_MOD; | 468 | u32 mod = (uart->num > 1) ? OMAP3430_PER_MOD : CORE_MOD; |
469 | u32 wk_mask = 0; | 469 | u32 wk_mask = 0; |
470 | u32 padconf = 0; | 470 | u32 padconf = 0; |
@@ -828,7 +828,7 @@ void __init omap_serial_init_port(struct omap_board_data *bdata) | |||
828 | } | 828 | } |
829 | 829 | ||
830 | /* Enable the MDR1 errata for OMAP3 */ | 830 | /* Enable the MDR1 errata for OMAP3 */ |
831 | if (cpu_is_omap34xx() && !cpu_is_ti816x()) | 831 | if (cpu_is_omap34xx() && !(cpu_is_ti816x() || cpu_is_am33xx())) |
832 | uart->errata |= UART_ERRATA_i202_MDR1_ACCESS; | 832 | uart->errata |= UART_ERRATA_i202_MDR1_ACCESS; |
833 | } | 833 | } |
834 | 834 | ||