[U-Boot] [PATCH v8 19/30] efi: Relocate FDT to 127MB instead of 128MB

Alexander Graf agraf at suse.de
Thu Jun 21 10:01:52 UTC 2018


On 06/21/2018 04:01 AM, Simon Glass wrote:
> Hi Alex,
>
> On 18 June 2018 at 08:52, Alexander Graf <agraf at suse.de> wrote:
>> On 06/18/2018 04:08 PM, Simon Glass wrote:
>>> Sandbox only has 128MB of memory so we cannot relocate the device tree up
>>> to start at 128MB. Use 127MB instead, which should be safe.
>>>
>>> Signed-off-by: Simon Glass <sjg at chromium.org>
>>
>> We should just drop into the fallback case if allocation fails, no?
> I cannot see how the allocation could ever fail, now that we are
> definitely in sandbox RAM. So I'm OK with doing that if you are.

I think that's perfectly reasonable, yes :)


Alex



More information about the U-Boot mailing list