From: Duje Mihanović Date: Wed, 18 Dec 2024 15:57:22 +0000 (+0100) Subject: more narrowing down X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=1c2274b8a5597269d94e6ec7bacfdee1e698bc7c;p=u-boot.git more narrowing down --- 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;