Hi Stefan, On Tue, Oct 20 2020, Stefan Roese wrote: > On 18.10.20 16:11, Baruch Siach wrote: >> Boot of Armada 8040 rev B0 hangs when U-Boot attempts to initialize the PCIe >> serdes. Adapt patches from downstream Marvell tree that move serdes >> initialization to ATF. >> >> This series requires upstream ATF version 2.1 or newer. > > Is there a way to detect if an older ATF is installed and print > an error message (warning) in this case?
I see no way to detect ATF version using smc_call(). Downstream Marvell ATF have the required code[1] in the 18.12.2 release[2], which is based on ATF 1.5. This is the last ATF version from Marvell that was released on github. [1] https://github.com/MarvellEmbeddedProcessors/atf-marvell/commit/4db85ae088a5e2f51e9a5a671f531cb80a632067 [2] https://github.com/MarvellEmbeddedProcessors/atf-marvell/commits/atf-v1.5-armada-18.12 baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - bar...@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -