Re: [PATCH v2] Revert "tty: serial: meson: Add a earlycon for the T7 SoC"

From: Neil Armstrong
Date: Sun Aug 27 2023 - 05:49:21 EST


Hi Lucas,

Le 27/08/2023 à 10:29, Lucas Tanure a écrit :
This reverts commit 6a4197f9763325043abf7690a21124a9facbf52e.
New SoC will use ttyS0 instead of ttyAML, so T7 SoC doesn't need a OF_EARLYCON_DECLARE.

Signed-off-by: Lucas Tanure <tanure@xxxxxxxxx>
---
Since V1:
- add Signed-off-by:

drivers/tty/serial/meson_uart.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c
index c4f61d82fb727..790d910dafa5d 100644
--- a/drivers/tty/serial/meson_uart.c
+++ b/drivers/tty/serial/meson_uart.c
@@ -648,8 +648,6 @@ meson_serial_early_console_setup(struct earlycon_device *device, const char *opt
OF_EARLYCON_DECLARE(meson, "amlogic,meson-ao-uart",
meson_serial_early_console_setup);
-OF_EARLYCON_DECLARE(meson, "amlogic,t7-uart",
- meson_serial_early_console_setup);
#define MESON_SERIAL_CONSOLE_PTR(_devname) (&meson_serial_console_##_devname)
#else

How do you use earlycon with this removed ?

Neil