]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Fri, 15 Apr 2022 12:15:02 +0000 (14:15 +0200)
commit47218c9ca4ea63e14be21ef2d6ba57f07b38e0a1
treeaffb404bbd2ad79f735c3c4f8d1b015f614dca6b
parent680a2aa3df4c239da8101aeadbc81b9d46e8105f
xtensa: fix DTC warning unit_address_format

[ Upstream commit e85d29ba4b24f68e7a78cb85c55e754362eeb2de ]

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