u-boot/board/CZ.NIC/turris_mox
Pali Rohár 029bb91e80 arm: mvebu: turris_{omnia, mox}: ensure running bootcmd_rescue always works
One of the points of putting the rescue boot command into default
environment is that user can invoke it without physical access to the
board (without having to press the factory reset button), by running
  run bootcmd_rescue
in U-Boot's console.

Therefore we have to ensure that bootcmd_rescue is always set to default
value, regardless of whether the factory reset button was pressed.
Otherwise the variable will be empty for example after upgrade from
previous U-Boot.

Fixes: ec3784d626 ("arm: mvebu: turris_mox: add support for board rescue mode")
Fixes: 176c3e7760 ("arm: mvebu: turris_omnia: support invoking rescue boot from console")
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
2021-06-15 07:21:54 +02:00
..
MAINTAINERS arm64: mvebu: Add basic support for the Turris Mox board 2018-05-14 10:00:15 +02:00
Makefile arm: mvebu: turris_mox: Read info (and ethaddrs) from OTP 2019-01-21 11:39:50 +01:00
mox_sp.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mox_sp.h arm: mvebu: turris_mox: Read info (and ethaddrs) from OTP 2019-01-21 11:39:50 +01:00
turris_mox.c arm: mvebu: turris_{omnia, mox}: ensure running bootcmd_rescue always works 2021-06-15 07:21:54 +02:00