[v2,06/12] cmd: misc: Disable by default on sunXi

Message ID 20180116084424.17801-7-maxime.ripard@free-electrons.com
State Accepted
Commit 07dc22dd8568850644ecf2ebed8ef9213fe017a5
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

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
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 87511aa5b15c..28ceb417683c 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1138,6 +1138,7 @@  config CMD_GETTIME
 # TODO: rename to CMD_SLEEP
 config CMD_MISC
 	bool "sleep"
+	default n if ARCH_SUNXI
 	default y
 	  Delay execution for some time