]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
cmd: unzip: Disable by default on sunXi
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 16 Jan 2018 08:44:15 +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 dbeb41c86da4b79d9bd8ef900db20cef19ad1ca0..fd34f445e087c45d58fb4efdb35a380a94df3ddf 100644 (file)
@@ -539,6 +539,7 @@ config CMD_LZMADEC
 
 config CMD_UNZIP
        bool "unzip"
+       default n if ARCH_SUNXI
        default y if CMD_BOOTI
        help
          Uncompress a zip-compressed memory region.