]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
cmd: misc: Disable by default on sunXi
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 16 Jan 2018 08:44:18 +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.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
cmd/Kconfig

index 49dd3f95e1ae1ca4c63e3c2ad18cbd94bec40a8c..c399169910981ccc57ba2bdd90b55944fb9aa33f 100644 (file)
@@ -1138,6 +1138,7 @@ config CMD_GETTIME
 # TODO: rename to CMD_SLEEP
 config CMD_MISC
        bool "sleep"
+       default n if ARCH_SUNXI
        default y
        help
          Delay execution for some time