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

From: Frank Rowand
Date: Tue Sep 04 2018 - 21:56:24 EST


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