[U-Boot] [PATCH 4/9] armv8: layerscape: Rewrite memory reservation

york sun york.sun at nxp.com
Tue Feb 14 17:00:57 UTC 2017


On 02/14/2017 07:31 AM, Alexander Graf wrote:
>
>
> On 14/02/2017 04:45, York Sun wrote:
>> For ARMv8 Layerscape SoCs, secure memory and MC memorey are reserved
>> at the end of DDR. DDR is spit into two or three banks. This patch
>> reverts commit aabd7ddb and simplifies the calculation of reserved
>> memory, and moves the code into common SoC file. Secure memory is
>> carved out first. DDR bank size is reduced. Reserved memory is then
>> allocated on the top of available memory. U-Boot still has access
>> to reserved memory as data transferring is needed. Device tree is
>> fixed with reduced memory size to hide the reserved memory from OS.
>
> I haven't looked in detail, but could you please ensure that you also
> reserve those regions in the efi_loader memory map?

I missed efi reserved memory map. Will add in v2 patch.

York



More information about the U-Boot mailing list