]> git.dujemihanovic.xyz Git - u-boot.git/commit
xilinx: zynqmp: Do not setup boot_targets if driver is not enabled
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Mon, 4 Sep 2023 03:20:35 +0000 (08:50 +0530)
committerMichal Simek <michal.simek@amd.com>
Thu, 21 Sep 2023 11:20:11 +0000 (13:20 +0200)
commitd75c65a5259e60b9534b48ddabfc1cbb9c098aac
treed49b33b8ab76161cf2135098f5c7f85184fed57c
parentb687f5d22124ab98693bb44ae4f772934031bba2
xilinx: zynqmp: 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-4-venkatesh.abbarapu@amd.com
board/xilinx/zynqmp/zynqmp.c