]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
serial_bcm283x_mu: Always skip init
authorAlexander Graf <agraf@suse.de>
Thu, 25 Jan 2018 11:05:47 +0000 (12:05 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 28 Jan 2018 17:27:34 +0000 (12:27 -0500)
The serial initialization doesn't always quite work for me, so let's
always skip it for now. We know that firmware on the RPi initializes
us properly already.

Signed-off-by: Alexander Graf <agraf@suse.de>
drivers/serial/serial_bcm283x_mu.c

index 20dc3defcce84bf249438a6db2ca06510d749253..c6132b44637581ca26dd15a4a8386b9e6f92de87 100644 (file)
@@ -147,7 +147,12 @@ static int bcm283x_mu_serial_ofdata_to_platdata(struct udevice *dev)
 
        plat->base = addr;
        plat->clock = dev_read_u32_default(dev, "clock", 1);
-       plat->skip_init = dev_read_bool(dev, "skip-init");
+
+       /*
+        * TODO: Reinitialization doesn't always work for now, just skip
+        *       init always - we know we're already initialized
+        */
+       plat->skip_init = true;
 
        return 0;
 }