On Fri, 2016-01-22 at 20:18 +0000, york sun wrote: > On 01/22/2016 12:14 PM, Bhupesh Sharma wrote: > > > > > > > -----Original Message----- > > > From: Scott Wood [mailto:o...@buserror.net] > > > Sent: Saturday, January 23, 2016 1:39 AM > > > To: york sun; Zhiqiang Hou; u-boot@lists.denx.de; > > > albert.u.b...@aribaud.net; mingkai...@freescale.com; Stuart Yoder; > > > le...@freescale.com; prabha...@freescale.com; > > > bhupesh.sha...@freescale.com; Zhiqiang Hou > > > Subject: Re: [PATCHv2 2/3] ARMv8/layerscape: Add FSL PPA support > > > > > > On Fri, 2016-01-22 at 20:05 +0000, york sun wrote: > > > > On 01/21/2016 01:53 AM, Zhiqiang Hou wrote: > > > > > From: Hou Zhiqiang <zhiqiang....@freescale.com> > > > > > > > > > > The FSL Primary Protected Application (PPA) is a software component > > > > > loaded during boot which runs in TrustZone and remains resident > > > > > after boot. > > > > > > > > > > Signed-off-by: Hou Zhiqiang <zhiqiang....@freescale.com> > > > > > --- > > > > > Tested on LS1043A RDB board > > > > > > > > > > > > > I presume PSCI is implemented in PPA. How does the SMP boot flow > > > > change with PPA? U-boot has to remain functional in the absence of > > > > PPA, > > > right? > > > > > > > > Would it be possible to write a readme for PPA? > > > > > > Also, how does the devicetree get updated to indicate the presence of > > > PSCI? > > > > > > > One needs to add PSCI node in the DTS for the same, claiming support for > > PSCI specification. > > The cpu.enable_method needs to be changed from spin-table to psci as well. > > > > See http://lxr.free-electrons.com/source/Documentation/devicetree/bindings > > /arm/psci.txt for details. > > > > Bhupesh, > > Before PPA is fully adopted, u-boot has to detect the existence of PPA and > decide to use PSCI or spin table, right? So the device tree node should also > be > fixed accordingly.
How would U-Boot know what version of PSCI the loaded PPA supports? Is or could there be any metadata on the PPA image to convey such information? -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot