Re: [PATCHv3 0/3] OMAP UART: Adding support for omap-serial driver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



G, Manjunath Kondaiah wrote:
You should allow both of them to be enabled at the same time, so the
same
kernel can for example be booted on a ZOOM2 with debug board
attached
(8250 on GPMC), or on a beagle/overo board.

Making them exclusive would be a step backwards.
More so, selecting both config option really shouldn't break the build. If one expect a build break because only one of the options can be enabled then clearly the dependency should be used so that user can select only one option at a time.

Ack. There should be dependency in Kconfig so that user can select
either 8250 console(through Quad-uart for zoom2/zoom3) or OMAP-serial
Console(through OMAP UART's).

No. The drivers MUST handle co-existing. You can have a bunch of drivers configured to be _potential_ consoles, which one will end up being used depends on, among other things, the bootargs. But it should be allowed to configure both 8250 and omap-serial at the same time.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux