tmp_suning_uos_patched/arch/mips/generic
Nathan Chancellor 3bbdf5a6fc MIPS: generic: Update node names to avoid unit addresses
commit e607ff630c6053ecc67502677c0e50053d7892d4 upstream.

With the latest mkimage from U-Boot 2021.04, the generic defconfigs no
longer build, failing with:

/usr/bin/mkimage: verify_header failed for FIT Image support with exit code 1

This is expected after the linked U-Boot commits because '@' is
forbidden in the node names due to the way that libfdt treats nodes with
the same prefix but different unit addresses.

Switch the '@' in the node name to '-'. Drop the unit addresses from the
hash and kernel child nodes because there is only one node so they do
not need to have a number to differentiate them.

Cc: stable@vger.kernel.org
Link: 79af75f777
Link: 3f04db891a
Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
[nathan: Backport to 5.10, only apply to .its.S files that exist]
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-30 08:47:16 -04:00
..
board-boston.its.S MIPS: generic: Update node names to avoid unit addresses 2021-06-30 08:47:16 -04:00
board-ingenic.c MIPS: Ingenic: Add system type for new Ingenic SoCs. 2020-09-27 10:57:27 +02:00
board-ni169445.its.S MIPS: generic: Update node names to avoid unit addresses 2021-06-30 08:47:16 -04:00
board-ocelot.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
board-ocelot.its.S MIPS: generic: Update node names to avoid unit addresses 2021-06-30 08:47:16 -04:00
board-ranchu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
board-sead3.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
board-xilfpga.its.S MIPS: generic: Update node names to avoid unit addresses 2021-06-30 08:47:16 -04:00
init.c MIPS: generic: Support booting with built-in or appended DTB 2020-09-18 16:32:19 +02:00
irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Kconfig MIPS: generic: Add support for Ingenic SoCs 2020-09-18 16:33:59 +02:00
Makefile MIPS: generic: Add support for Ingenic SoCs 2020-09-18 16:33:59 +02:00
Platform MIPS: jz4740: Rename jz4740 folders to ingenic 2020-09-18 16:35:05 +02:00
proc.c MIPS: generic: Allow boards to set system type 2020-09-18 16:28:56 +02:00
vmlinux.its.S MIPS: generic: Update node names to avoid unit addresses 2021-06-30 08:47:16 -04:00
yamon-dt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00