]> git.dujemihanovic.xyz Git - u-boot.git/commit
versal: Return ENVL_NOWHERE instead of ENVL_UNKNOWN
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Wed, 24 Nov 2021 11:16:55 +0000 (12:16 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 5 Jan 2022 10:16:21 +0000 (11:16 +0100)
commitbf97c460a403fa884320643f065fff4758dcf54e
tree6a4ebda4fbbcb63828d35d73df1bfd8208699824
parentbb113ce313214cb754365baf4615b4d57910279f
versal: Return ENVL_NOWHERE instead of ENVL_UNKNOWN

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

The same change was also done by commit 50918d0df5cb ("xilinx: Return
ENVL_NOWHERE instead of ENVL_UNKNOWN") for zynq and zynqmp.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/e4ed36408f10159677ed8060bfd5289f3e0691fa.1637752614.git.michal.simek@xilinx.com
board/xilinx/versal/board.c