linux-stable/arch/mips/generic
Nathan Chancellor 822564cd3a MIPS: generic: Update node names to avoid unit addresses
commit e607ff630c 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 4.19, 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:48:29 -04:00
..
board-boston.its.S MIPS: generic: Update node names to avoid unit addresses 2021-06-30 08:48:29 -04:00
board-ni169445.its.S MIPS: generic: Update node names to avoid unit addresses 2021-06-30 08:48:29 -04:00
board-ocelot.c MIPS: generic: Add support for Microsemi Ocelot 2018-03-21 23:33:10 +00:00
board-ocelot_pcb123.its.S mips: mscc: build FIT image for Ocelot 2018-07-24 17:42:19 -07:00
board-ranchu.c MIPS: generic: Fix ranchu_of_match[] termination 2018-02-05 10:39:51 +00:00
board-sead3.c
board-xilfpga.its.S MIPS: generic: Update node names to avoid unit addresses 2021-06-30 08:48:29 -04:00
init.c MIPS: generic: fix missing of_node_put() 2018-07-27 19:48:57 -07:00
irq.c MIPS: Generic: Support GIC in EIC mode 2018-02-05 14:36:03 +00:00
Kconfig mips: mscc: build FIT image for Ocelot 2018-07-24 17:42:19 -07:00
kexec.c
Makefile MIPS: generic: Add support for Microsemi Ocelot 2018-03-21 23:33:10 +00:00
Platform mips: mscc: build FIT image for Ocelot 2018-07-24 17:42:19 -07:00
proc.c
vmlinux.its.S MIPS: generic: Update node names to avoid unit addresses 2021-06-30 08:48:29 -04:00
yamon-dt.c MIPS: Remove obsolete MIPS checks for DST node "chosen@0" 2018-08-06 09:50:33 -07:00