Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Scott Wood
On Tue, 2015-11-10 at 12:24 -0800, York Sun wrote: > > On 11/10/2015 11:51 AM, Scott Wood wrote: > > On Tue, 2015-11-10 at 11:44 -0800, York Sun wrote: > > > > > > On 11/10/2015 11:31 AM, Scott Wood wrote: > > > > On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: > > > > > Primary Protected Appl

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
On 11/10/2015 11:51 AM, Scott Wood wrote: > On Tue, 2015-11-10 at 11:44 -0800, York Sun wrote: >> >> On 11/10/2015 11:31 AM, Scott Wood wrote: >>> On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: Primary Protected Application (PPA) is the base of TrustZone for Freescale Layerscape SoC

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
On 11/10/2015 11:52 AM, Wolfgang Denk wrote: > Dear York, > > In message <5642490c.9090...@freescale.com> you wrote: >> +- CONFIG_FSL_PPA_RESERVED_DRAM_SIZE + If defined, this is reserved in highest address as secure memory >>> >>> What is Freescale-specific about the concept of reser

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Scott Wood
On Tue, 2015-11-10 at 11:44 -0800, York Sun wrote: > > On 11/10/2015 11:31 AM, Scott Wood wrote: > > On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: > > > Primary Protected Application (PPA) is the base of TrustZone for > > > Freescale Layerscape SoCs. It needs to run in secure memory while > >

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Wolfgang Denk
Dear York, In message <5642490c.9090...@freescale.com> you wrote: > > >> +- CONFIG_FSL_PPA_RESERVED_DRAM_SIZE > >> + If defined, this is reserved in highest address as secure memory > > > > What is Freescale-specific about the concept of reserving memory for a > > secure > > monitor? > > The

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
On 11/10/2015 11:31 AM, Scott Wood wrote: > On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: >> Primary Protected Application (PPA) is the base of TrustZone for >> Freescale Layerscape SoCs. It needs to run in secure memory while >> the rest of u-boot can run in non-secure memory. The secure me

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Scott Wood
On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: > Primary Protected Application (PPA) is the base of TrustZone for > Freescale Layerscape SoCs. It needs to run in secure memory while > the rest of u-boot can run in non-secure memory. The secure memory > is reserved at the very end of DDR, before

[U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
Primary Protected Application (PPA) is the base of TrustZone for Freescale Layerscape SoCs. It needs to run in secure memory while the rest of u-boot can run in non-secure memory. The secure memory is reserved at the very end of DDR, before debug server and MC reservations. The address varies depen