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

York Sun yorksun at freescale.com
Thu Nov 19 00:01:08 CET 2015



On 11/18/2015 02:56 PM, Scott Wood wrote:

<snip>

> 
>>> I think it'd be a bit more straightforward for this to return the new
>>> ram_top
>>> rather than the size to be subtracted.
>>
>> That will be inaccurate. For layerscape SoCs, the gd->ram_size is known at
>> this
>> point, but the address is not known until later in board file dram bank is
>> filled int. So this function can only return how much memory is reserved.
> 
> Sorry, I should have said offset from the start of RAM instead of address.  So
> the caller does "gd->ram_size = board_reserve_ram_top(gd->ram_size);".
> 

Sure. That can be arranged.

York




More information about the U-Boot mailing list