[v2,03/12] cmd: unzip: Disable by default on sunXi

Message ID 20180116084424.17801-4-maxime.ripard@free-electrons.com
State Accepted
Commit 3b50382ab5fa7f325e5eb976d0e3bbdb467b6854
Headers show
  • sunxi: arm64 binary size fixes
Related show

Commit Message

Maxime Ripard Jan. 16, 2018, 8:44 a.m.
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

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)


diff --git a/cmd/Kconfig b/cmd/Kconfig
index a79788b085e5..49e4b9f1953b 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -539,6 +539,7 @@  config CMD_LZMADEC
 config CMD_UNZIP
 	bool "unzip"
+	default n if ARCH_SUNXI
 	default y if CMD_BOOTI
 	  Uncompress a zip-compressed memory region.