]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: turris_{omnia, mox}: Reset bootdelay env for rescue
authorPali Rohár <pali@kernel.org>
Sat, 27 Aug 2022 18:49:20 +0000 (20:49 +0200)
committerStefan Roese <sr@denx.de>
Tue, 13 Sep 2022 04:38:08 +0000 (06:38 +0200)
commit109dde049740fe17a461471d7ff54a64fc58aab9
tree54d4848ea3ec5bdb6d37c1e7cf12c3740e2f8a2b
parent7bb9ea47e1a47e00d4aef86d66293379be0b47b0
arm: mvebu: turris_{omnia, mox}: Reset bootdelay env for rescue

When rescue mode was activated reset also bootdelay env variable to its
default value. This will ensure that reset button works and starts rescue
mode also in the case when user changed bootdelay env variable to -1 (which
has meaning to not start autoboot).

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
board/CZ.NIC/turris_mox/turris_mox.c
board/CZ.NIC/turris_omnia/turris_omnia.c