diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-12-04 20:02:28 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-01-25 08:48:33 +0100 |
commit | 41054628c45e300e3174f6a0b1a33f30ccb6b591 (patch) | |
tree | 68bfed1ac0fedd4e1c5c538a62f054d94db774a1 /arch/arm/boot/dts/gemini-wbd111.dts | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) |
ARM: dts: gemini: Push down flash address/size cells
The platforms not defining any OF partions complain like
this:
../arch/arm/boot/dts/gemini.dtsi:19.25-28.5: Warning
(avoid_unnecessary_addr_size): /soc/flash@30000000: unnecessary
#address-cells/#size-cells without "ranges" or child "reg" property
Get rid of this by only defining the address-cells and
size-cells where it is actually used by OF partitions.
Link: https://lore.kernel.org/r/20221204190230.3345590-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/gemini-wbd111.dts')
-rw-r--r-- | arch/arm/boot/dts/gemini-wbd111.dts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/gemini-wbd111.dts b/arch/arm/boot/dts/gemini-wbd111.dts index de3c4416b0fb..bfb7fdd589ae 100644 --- a/arch/arm/boot/dts/gemini-wbd111.dts +++ b/arch/arm/boot/dts/gemini-wbd111.dts @@ -86,6 +86,8 @@ status = "okay"; /* 8MB of flash */ reg = <0x30000000 0x00800000>; + #address-cells = <1>; + #size-cells = <1>; partition@0 { label = "RedBoot"; |