]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: fix DTC warning unit_address_format
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 17 Mar 2022 09:49:41 +0000 (02:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 18:59:09 +0000 (20:59 +0200)
commit9edde965b43a312ef1dedac90971b232dcc988f0
tree559ffb2ae2a74ad1b5f201be6a7fcbf064f3162c
parent2b87abae7ed20d2bcac0033f0c5a2a73a6e63c73
xtensa: fix DTC warning unit_address_format

[ Upstream commit 6dbefec7fe1e7ef2c7f6e015ad641edab7f961cd ]

DTC issues the following warnings when building xtfpga device trees:

 /soc/flash@00000000/partition@0x0: unit name should not have leading "0x"
 /soc/flash@00000000/partition@0x6000000: unit name should not have leading "0x"
 /soc/flash@00000000/partition@0x6800000: unit name should not have leading "0x"
 /soc/flash@00000000/partition@0x7fe0000: unit name should not have leading "0x"

Drop leading 0x from flash partition unit names.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi
arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi
arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi