diff mbox series

[04/11] cmd: loads: Disable by default on sunXi

Message ID 20171221124030.23721-5-maxime.ripard@free-electrons.com
State Superseded
Headers show
Series sunxi: arm64 binary size fixes | expand

Commit Message

Maxime Ripard Dec. 21, 2017, 12:40 p.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(+)

Comments

Jagan Teki Jan. 10, 2018, 6:21 a.m. UTC | #1
On Thu, Dec 21, 2017 at 6:10 PM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> 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>
> ---

Applied to u-boot-sunxi/master
diff mbox series

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 36a1b9b784a6..098fbe6fc90a 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -755,6 +755,7 @@  config CMD_LOADB
 
 config CMD_LOADS
 	bool "loads"
+	default n if ARCH_SUNXI
 	default y
 	help
 	  Load an S-Record file over serial line