]> git.dujemihanovic.xyz Git - u-boot.git/commit
xilinx: versal-net: Handle spi seq number based on boot device
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Fri, 14 Jun 2024 12:48:11 +0000 (18:18 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 5 Aug 2024 14:10:36 +0000 (16:10 +0200)
commit83cb220d47231149d43847dc8a8770e9f266fda8
tree1a7cd7a752d832d446b88e0074853b42d04e7696
parent7d84ad1da0e32f4525cee9b35bc5a4f3b5585ed8
xilinx: versal-net: Handle spi seq number based on boot device

Versal NET boards has QSPI and OSPI and default bus set to 0
is not working when system is booting out of OSPI which is
controller 1, as fixed aliases are set for all the boards
i.e., QSPI to 0 and OSPI to 1. Add controller autodetection
via spi_get_env_dev().

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