diff mbox series

[v2,02/12] cmd: crc32: Disable by default on sunXi

Message ID 20180116084424.17801-3-maxime.ripard@free-electrons.com
State Accepted
Commit b02436089af064bc6d7c2fee256d23e5ba135454
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 83dc778e46f1..a79788b085e5 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -397,6 +397,7 @@  menu "Memory commands"
 config CMD_CRC32
 	bool "crc32"
 	select HASH
+	default n if ARCH_SUNXI
 	default y
 	help
 	  Compute CRC32.