]> git.ipfire.org Git - thirdparty/u-boot.git/commit
xilinx: Return ENVL_NOWHERE instead of ENVL_UNKNOWN
authorMike Looijmans <mike.looijmans@topic.nl>
Fri, 2 Jul 2021 08:28:36 +0000 (10:28 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 6 Oct 2021 11:12:31 +0000 (13:12 +0200)
commitd1b891873257d630649f6dd4155f0ac4813af78c
tree185849b80f819956d18404a479da9f4c41dff669
parent342f93e8a96071449a86d4c6cd2ac65a944ca027
xilinx: Return ENVL_NOWHERE instead of ENVL_UNKNOWN

The system refuses to boot without any environment, so return ENVL_NOWHERE when
there's nowhere to store the environment instead of ENVL_UNKNOWN.

This fixes that the board won't boot from eMMC when CONFIG_ENV_IS_IN_FAT is not
defined, for example. Similar for other combinations.

Fixes: 1025bd098aa8 "xilinx: zynqmp: Add support for saving variables"
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynq/board.c
board/xilinx/zynqmp/zynqmp.c