[PATCH v3 1/1] cmd: bootefi: Parse reserved-memory node from DT

Thirupathaiah Annapureddy thiruan at linux.microsoft.com
Tue Mar 24 06:42:44 CET 2020



On 3/17/2020 4:10 AM, Heinrich Schuchardt wrote:
> On 3/17/20 9:06 AM, Patrick DELAUNAY wrote:
>> Hi,
>>
>>> From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Heinrich Schuchardt
>>> Sent: dimanche 15 mars 2020 13:03
>>>

> 
> It makes sense to keep these coding stretches in sync.
> 
> @Thirupathaiah
> * I did not find any example in the Linux code where a status for
>   a subnode of /reserved-memory was specified. Where did you
>   observe reserved memory not having status="okay"?
A child node of /reserved-memory may be declared in a SOC specific dtsi file.
But a given board's dts file may chose to disable this i.e. it does not need
to reserve this memory. 

> * Does Linux check the status?
yes, it checks. 
__fdt_scan_reserved_mem() -> of_fdt_device_is_available()

Best Regards,
Thiru


More information about the U-Boot mailing list