cmd: loads: Disable by default on sunXi
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 16 Jan 2018 08:44:17 +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 824a47e428d28d14b63f88285b480b30aa9d9b79..49dd3f95e1ae1ca4c63e3c2ad18cbd94bec40a8c 100644 (file)
@@ -755,6 +755,7 @@ config CMD_LOADB
 
 config CMD_LOADS
        bool "loads"
+       default n if ARCH_SUNXI
        default y
        help
          Load an S-Record file over serial line