From: Duje Mihanović Date: Wed, 18 Dec 2024 15:57:22 +0000 (+0100) Subject: more narrowing down X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B?a=commitdiff_plain;h=cd00ea2b18aae95a2d45f7e77fe4388b665e0e93;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;