[PATCH] efi/libstub/arm*: Set default address and size cells values for an empty dtb

Timur Tabi
2017-02-13T20:55:08Z

On Thu, Feb 9, 2017 at 2:27 AM, AKASHI, Takahiro
<takahiro.akashi@linaro.org> wrote:
>
> is there a requirement that the root node must have #address-cells/
> #size-cells?
> I found such a statement, at least, in booting-without-of.txt
> (only applied to ppc? See III-5-a).

If you want to be able to represent 64-bit 'reg' addresses anywhere in
the device tree, then you will need #address-cells = <2> and
#size-cells = <2> at any appropriate location, which is usually the
root node for a 64-bit processor.

--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.