]> git.dujemihanovic.xyz Git - u-boot.git/commit
xilinx: versal: Do not setup boot_targets if driver is not enabled
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Mon, 4 Sep 2023 03:20:34 +0000 (08:50 +0530)
committerMichal Simek <michal.simek@amd.com>
Thu, 21 Sep 2023 11:20:11 +0000 (13:20 +0200)
commitb687f5d22124ab98693bb44ae4f772934031bba2
treed33011316ec81f726d3b384684ee09010f3d7337
parentc55eb1d542363951347f73c8f03ebcfc63833e11
xilinx: versal: Do not setup boot_targets if driver is not enabled

SOC can boot in the device which is not accessible from APU and running
this is detected as error which ends up in stopping boot process.
Boot mode detection and logic around is present to setup priority on boot
devices that SOC boot device is likely also used for booting OS.
Change logic to detect this case with showing message about it but don't fail
in boot process and don't prioritize boot device in this case.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20230904032035.11926-3-venkatesh.abbarapu@amd.com
board/xilinx/versal/board.c