]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
cmd: crc32: Disable by default on sunXi
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 16 Jan 2018 08:44:14 +0000 (09:44 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 26 Jan 2018 14:32:33 +0000 (20:02 +0530)
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>
Reviewed-by: Jagan Teki <jagan@openedev.com>
cmd/Kconfig

index faa8bc62b5495b7e978ddf2fcf5cbcffd68aa916..dbeb41c86da4b79d9bd8ef900db20cef19ad1ca0 100644 (file)
@@ -397,6 +397,7 @@ menu "Memory commands"
 config CMD_CRC32
        bool "crc32"
        select HASH
+       default n if ARCH_SUNXI
        default y
        help
          Compute CRC32.