diff mbox series

[v2,04/12] cmd: loadb: Disable by default on sunXi

Message ID 20180116084424.17801-5-maxime.ripard@free-electrons.com
State Accepted
Commit 197e0be74494fc8e1a13e671e5156c9894cd70e7
Headers show
Series sunxi: arm64 binary size fixes | expand

Commit Message

Maxime Ripard Jan. 16, 2018, 8:44 a.m. UTC
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>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 49e4b9f1953b..c1609bc9007e 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -748,6 +748,7 @@  config CMD_I2C
 
 config CMD_LOADB
 	bool "loadb"
+	default n if ARCH_SUNXI
 	default y
 	help
 	  Load a binary file over serial line.