]> git.baikalelectronics.ru Git - uboot.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)
commit9baf5d0d7bb13229553ee0ed1dce9c8bde1bfdfd
treeeb833f5981d4cadc5b936ca725425d28ff2adc63
parenta46ed97d1e153505f6a47e238b5501a7b11138c2
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: e63f689e2e88 "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