[U-Boot] [PATCH v4] armv8: fsl-layerscale: Rewrite reserving memory for MC and debug server

York Sun yorksun at freescale.com
Mon Dec 7 20:16:58 CET 2015



On 12/07/2015 10:20 AM, Simon Glass wrote:
> On 7 December 2015 at 11:08, York Sun <yorksun at freescale.com> wrote:
>> MC and debug server are not board-specific. Instead of reserving
>> memory in each board file, a weak function is introduced in board_f.c
>> to replace macro CONFIG_SYS_MEM_TOP_HIDE for more flexibility.
>> Legacy use of this macro is still supported. Move the reservation
>> calculation to SoC file. Reduce debug server memory by 2MB to
>> make room for secure memory.
>>
>> In the system with MC and debug server, the top of u-boot memory
>> is not the end of memory. PRAM is not used for this reservation.
>>
>> Signed-off-by: York Sun <yorksun at freescale.com>
>>
>> ---
>>
>> Changes in v4:
>>   Rebase to current master branch
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> If for any reason you issue a v5 can you please move the common change
> (board_f.c) to a separate patch?

Right. It makes sense to separate the change. I will send v5.

York



More information about the U-Boot mailing list