From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 10 Nov 2015 12:11:30 -0800 Subject: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA In-Reply-To: <20151110195203.20CA7383F07@gemini.denx.de> References: <1447183031-8043-1-git-send-email-yorksun@freescale.com> <1447183031-8043-2-git-send-email-yorksun@freescale.com> <1447183914.2262.115.camel@freescale.com> <5642490C.9090407@freescale.com> <20151110195203.20CA7383F07@gemini.denx.de> Message-ID: <56424F72.8090705@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/10/2015 11:52 AM, Wolfgang Denk wrote: > Dear York, > > In message <5642490C.9090407@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 PPA is a Freescale implementation of TrustZone application. > > That does not answer the question. What is so special here that you > cannot use the existing CONFIG_PRAM ? > CONFIG_PRAM is reserved from the top of u-boot memory, which is not necessarily the real top of memory. I am putting this reserved memory under the name CONFIG_FSL_PPA_RESERVED_DRAM_SIZE for now, because I don't know if this will serve other SoCs. I would use a generic solution if I don't have MC and debug server in my way. I am open to suggestions. York