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

Timur Tabi timur at codeaurora.org
Thu Mar 2 06:38:51 PST 2017


AKASHI Takahiro wrote:
> Since the values of *-cells under root node should reflect the hardware,
> the kernel has no way to determine whether they be 1 or 2 here.

It's safe to set the *-cells to 2 on all platforms, as long as everyone who 
reads/writes from/to the device tree respects those values (which is what 
they're supposed to do anyway).

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.



More information about the linux-arm-kernel mailing list