]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
cmd: loadb: Disable by default on sunXi
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 16 Jan 2018 08:44:16 +0000 (09:44 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 26 Jan 2018 14:32:33 +0000 (20:02 +0530)
The sunXi arm64 build has overflown, leading to the main U-boot binary
overwriting the environment when flashing the new image, or even worse,
overwriting itself when we're calling saveenv.

Disable this command that is not critical until we can adress the issue
properly.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
cmd/Kconfig

index fd34f445e087c45d58fb4efdb35a380a94df3ddf..824a47e428d28d14b63f88285b480b30aa9d9b79 100644 (file)
@@ -748,6 +748,7 @@ config CMD_I2C
 
 config CMD_LOADB
        bool "loadb"
+       default n if ARCH_SUNXI
        default y
        help
          Load a binary file over serial line.