1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-26 17:10:22 +01:00
Files
u-boot-megous/include
Sam Protsenko adc097e133 env: ti: boot: Use ttyS2 instead of ttyO2
ttyO2 console enables legacy CONFIG_SERIAL_OMAP driver in kernel.
Nowadays it's preferred to use the generic CONFIG_SERIAL_8250_OMAP
driver, which being enabled via ttyS2 console. Both drivers are enabled
in multi_v7_defconfig and in omap2plus_defconfig, for compatibility
reasons. Let's switch to ttyS2 console, to be sure that standard 8250
serial driver is used.

Similar behavior can be also achieved by enabling
CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP option in kernel, but it's better not
to rely on that, as it can be disabled or removed after transitional
period.

Right now on DRA7/AM57x platforms the 8250-omap driver is being probed
first, and omap-serial driver is only probed if the first one failed.
It can be seen from uart3 definition in arch/arm/boot/dts/dra7-l4.dtsi:

    compatible = "ti,dra742-uart", "ti,omap4-uart";

So the kernel already uses 8250 driver. This change basically allows
kernel developers to throw away the omap-serial driver and associated
compatibility options. Similar discussions [1,2] have started several
years ago, so it should be safe to do that now.

[1] https://patchwork.kernel.org/patch/6198471/
[2] http://processors.wiki.ti.com/index.php/Sitara_Linux_UART_-_Switching_to_8250_Driver

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Andrew F. Davis <afd@ti.com>
[trini: Update omap5_uevm]
Signed-off-by: Tom Rini <trini@konsulko.com>
2019-07-27 13:36:54 -04:00
..
2019-05-20 13:50:34 +02:00
2018-11-27 21:06:53 +05:30
2019-07-24 13:16:29 -04:00
2018-11-14 09:16:27 -08:00
2018-09-29 11:49:35 -06:00
2019-05-09 19:52:55 -04:00
2019-05-05 08:48:50 -04:00
2019-05-09 00:44:13 +05:30
2018-09-10 20:48:16 -04:00
2019-07-19 11:11:09 +08:00
2019-04-23 20:26:43 -06:00
2018-12-07 08:13:45 -05:00
2018-12-07 08:13:45 -05:00
2019-07-16 22:17:22 +00:00
2019-07-18 11:31:25 -04:00
2019-04-22 12:06:39 -04:00
2018-07-26 14:08:22 -05:00
2018-09-23 21:55:30 +02:00
2019-06-23 14:18:42 +08:00
2019-02-20 15:27:09 +08:00
2018-06-13 07:49:12 -04:00
2018-12-06 23:26:32 -05:00
2019-02-09 12:50:22 -07:00
2018-10-22 13:01:27 +02:00
2019-01-01 14:12:18 +01:00
2019-04-23 20:26:43 -06:00
2018-12-05 06:01:35 -07:00
2018-04-06 17:04:33 -04:00
2019-02-02 08:19:17 -05:00
2019-07-18 16:37:13 -05:00
2019-07-15 10:30:08 +08:00
2019-05-20 13:50:34 +02:00
2018-10-02 22:12:32 +05:30
2019-07-18 16:37:13 -05:00
2018-10-09 04:40:27 -06:00
2019-07-18 16:37:13 -05:00
2019-05-20 13:50:34 +02:00
2019-05-31 23:27:12 +02:00
2018-07-19 16:31:37 -04:00
2019-02-01 16:59:12 +01:00
2019-05-21 17:33:23 -06:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06:00
2019-06-04 22:09:26 +02:00
2018-09-28 18:26:32 +02:00