[U-Boot] [PATCH 05/11] cmd: misc: Disable by default on sunXi

Maxime Ripard maxime.ripard at free-electrons.com
Thu Dec 21 12:40:24 UTC 2017


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 at free-electrons.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 098fbe6fc90a..ca6d3956bd10 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1130,6 +1130,7 @@ config CMD_GETTIME
 # TODO: rename to CMD_SLEEP
 config CMD_MISC
 	bool "sleep"
+	default n if ARCH_SUNXI
 	default y
 	help
 	  Delay execution for some time
-- 
2.14.3



More information about the U-Boot mailing list