diff mbox series

[v2,09/12] net: regex: Disable by default on sunXi

Message ID 20180116084424.17801-10-maxime.ripard@free-electrons.com
State Accepted
Commit acd4d3343f6dc0f8a0c62bd4fb4ed5dbbc2ced1b
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 option that is not critical until we can adress the issue
properly.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 lib/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/lib/Kconfig b/lib/Kconfig
index 00ac650e741d..710deb7a6303 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -57,6 +57,7 @@  config PANIC_HANG
 
 config REGEX
 	bool "Enable regular expression support"
+	default n if ARCH_SUNXI
 	default y if NET
 	help
 	  If this variable is defined, U-Boot is linked against the