u-boot/arch/xtensa
Rasmus Villemoes 52ec7b7c89 treewide: drop redundant "type string" for SYS_SOC and friends
The Kconfig symbols SYS_ARCH, SYS_CPU, SYS_SOC, SYS_VENDOR and
SYS_BOARD are defined in arch/Kconfig as having type string, and most
board files simply amend those definition with suitable

  default "foo"

or

  default "foo" if BAR

stanzas. But some also include a redundant repetition of the type.

Homogenize the code base by removing those lines.

Generated by

  find arch/*/ board -name Kconfig | xargs perl -i -g -pe 's/(config SYS_(ARCH|CPU|SOC|VENDOR|BOARD)\n)\s*string\n/\1/gs'

with the trailing slash in arch/*/ ensuring that arch/Kconfig itself
is not found.

This does not change boards which add a prompt string, e.g.

  string "Board name"

because I think those change the semantics of the symbol into being
user-settable.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Tom Rini <trini@konsulko.com>
2024-09-10 13:14:59 -06:00
..
cpu xtensa: Correct define of _end symbol 2024-07-04 16:08:37 -06:00
dts board: emulation: New board qemu-xtensa 2024-07-04 16:08:37 -06:00
include/asm xtensa: Remove duplicate newlines 2024-07-15 12:12:19 -06:00
lib lmb: do away with arch_lmb_reserve() 2024-09-03 14:08:50 -06:00
config.mk xtensa: Define PLATFORM_ELFFLAGS 2024-07-04 16:08:37 -06:00
Kconfig treewide: drop redundant "type string" for SYS_SOC and friends 2024-09-10 13:14:59 -06:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00