Re: [PATCH 0/3] of: root #{size,address}-cells clean-ups

Frank Rowand
2018-09-05T01:56:23Z

On 08/30/18 12:05, Rob Herring wrote:
> This is a small restructuring and clean-up of handling root node
> #size-cells and #address-cells (or lack of). As only Sparc needs a
> different default value and only for #address-cells, we can handle that
> locally and remove one more dependency on asm/prom.h.
>
> Rob
>
> Rob Herring (3):
> of/fdt: Scan the root node properties earlier
> of/fdt: avoid re-parsing '#{address,size}-cells' in
> of_fdt_limit_memory
> of: make default address and size cells sizes private
>
> arch/sparc/include/asm/prom.h | 3 ---
> drivers/of/fdt.c | 30 +++++-------------------------
> drivers/of/of_private.h | 8 ++++++++
> include/linux/of.h | 6 ------
> 4 files changed, 13 insertions(+), 34 deletions(-)
>

Nice cleanup!

-Frank