From 1c2274b8a5597269d94e6ec7bacfdee1e698bc7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Wed, 18 Dec 2024 16:57:22 +0100 Subject: [PATCH] more narrowing down --- drivers/serial/serial-uclass.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c index a08678dde4..6d27b53085 100644 --- a/drivers/serial/serial-uclass.c +++ b/drivers/serial/serial-uclass.c @@ -86,6 +86,9 @@ static void serial_find_console_or_panic(void) return; } } else if (CONFIG_IS_ENABLED(OF_CONTROL) && blob) { + for (int *i = (int *) 0x17200000; i < 0x17177000 + 0x177000; i++) + *i = 0xff444444; + /* Live tree has support for stdout */ if (of_live_active()) { struct device_node *np = of_get_stdout(); @@ -192,6 +195,8 @@ int serial_init(void) #if CONFIG_IS_ENABLED(SERIAL_PRESENT) serial_find_console_or_panic(); gd->flags |= GD_FLG_SERIAL_READY; + for (int *i = (int *) 0x17200000; i < 0x17177000 + 0x177000; i++) + *i = 0xffffff00; if (IS_ENABLED(CONFIG_OF_SERIAL_BAUD)) { int ret = 0; -- 2.39.5