ARM: OMAP2+: UART: Move errata handling from serial.c to omap-serial
authorGovindraj.R <govindraj.raja@ti.com>
Mon, 7 Nov 2011 13:30:33 +0000 (19:00 +0530)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Dec 2011 00:05:22 +0000 (16:05 -0800)
commit94734749af794c080f6af6ac3ce8c1c13ee2dbbd
treefca071b796416579b42860980cd7324ac128d22e
parentec3bebc6ec64aac23500e6b8ef5c0aaaeda735cf
ARM: OMAP2+: UART: Move errata handling from serial.c to omap-serial

Move the errata handling mechanism from serial.c to omap-serial file
and utilise the same func in driver file.

Errata i202, i291 are moved to be handled with omap-serial
Moving the errata macro from serial.c file to driver header file
as from on errata will be handled in driver file itself.
Corrected errata id from chapter reference 2.15 to errata id i291.

Removed errata and dma_enabled fields from omap_uart_state struct
as they are no more needed with errata handling done within omap-serial.

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/serial.c
arch/arm/plat-omap/include/plat/omap-serial.h
drivers/tty/serial/omap-serial.c