[U-Boot] [PATCH 7/6] sunxi: Reserve ATF memory space on A64

Alexander Graf agraf at suse.de
Fri Apr 1 13:23:02 CEST 2016



On 01.04.16 13:12, Ian Campbell wrote:
> On Fri, 2016-04-01 at 13:08 +0200, Alexander Graf wrote:
>>
>> On 01.04.16 13:06, Ian Campbell wrote:
>>>
>>> On Wed, 2016-03-30 at 17:53 +0200, Alexander Graf wrote:
>>>>
>>>> On the A64 we usually boot with ATF running in EL3. ATF as it is available
>>>> today resides in the first 16MB of RAM. So we should make sure we reserve
>>>> that space in our memory maps.
>>> Would using fdt_add_mem_rsv() be better than fiddling with the DRAM
>>> banks?
>> Nope, because that wouldn't populate into the EFI memory descriptors ;).
> 
> Isn't that a bug? ;-)

I guess to make this clean we'd need a new API that both calls
fdt_add_mem_rsv() and an efi allocate.

And yes, it's a bug :).


Alex


More information about the U-Boot mailing list