From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Date: Tue, 20 Oct 2020 12:12:38 +0300 Subject: [PATCH 0/3] phy: marvell: cp110: fix Armada 8k rev B0 boot hang In-Reply-To: References: Message-ID: <87o8kxtg55.fsf@tarshish> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -