]> git.dujemihanovic.xyz Git - 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>
Mon, 26 Jul 2021 07:18:45 +0000 (09:18 +0200)
commit50918d0df5cb23a1751d8443f352726a582c9c76
treeeb833f5981d4cadc5b936ca725425d28ff2adc63
parent419b4a86f784c819c520d88658799cb71063f87e
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