Commit 12a75da296d43784c960a2beaca002a08d06cf15

Authored by Govindraj.R
Committed by Kevin Hilman
1 parent b612633b59

OMAP: SERIAL: Enable omap-serial driver in Kconfig

Enable omap-serial driver in /mach-omap2/Kconfig and
move 8250 driver selection for zoom boards. With omap-serial
driver addition all omap-uarts can be handled with
omap-serial driver.

With addition of omap-serial driver console parameter
needs be changed in bootargs from ttyS* should be
replaced with ttyO* [O --> OMAP not ZERO]

For example: ttyS0[UART1 on 3430SDP] changes to ttyO0.

But with some boards that do not use omap-uart as console uart.
we need to handle them with 8250 driver. Ex: ZOOM2/3.
For zoom2/3 board we need to use 8250 serial driver and
console parameter will remain ttyS0 which basically uses
a Quad uart placed on the debug board connected through a
gpio line.

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>

Showing 1 changed file with 8 additions and 3 deletions Side-by-side Diff

arch/arm/mach-omap2/Kconfig
... ... @@ -11,9 +11,8 @@
11 11 select PM_RUNTIME
12 12 select VFP
13 13 select NEON if ARCH_OMAP3 || ARCH_OMAP4
14   - select SERIAL_8250
15   - select SERIAL_CORE_CONSOLE
16   - select SERIAL_8250_CONSOLE
  14 + select SERIAL_OMAP
  15 + select SERIAL_OMAP_CONSOLE
17 16 select I2C
18 17 select I2C_OMAP
19 18 select MFD
20 19  
... ... @@ -222,12 +221,18 @@
222 221 depends on ARCH_OMAP3
223 222 default y
224 223 select OMAP_PACKAGE_CBB
  224 + select SERIAL_8250
  225 + select SERIAL_CORE_CONSOLE
  226 + select SERIAL_8250_CONSOLE
225 227  
226 228 config MACH_OMAP_ZOOM3
227 229 bool "OMAP3630 Zoom3 board"
228 230 depends on ARCH_OMAP3
229 231 default y
230 232 select OMAP_PACKAGE_CBP
  233 + select SERIAL_8250
  234 + select SERIAL_CORE_CONSOLE
  235 + select SERIAL_8250_CONSOLE
231 236  
232 237 config MACH_CM_T35
233 238 bool "CompuLab CM-T35 module"