u-boot/board/Marvell/octeontx
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
..
board-fdt.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
board.c global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
Kconfig treewide: drop redundant "type string" for SYS_SOC and friends 2024-09-10 13:14:59 -06:00
MAINTAINERS arm: octeontx: Add support for OcteonTX SoC platforms 2020-08-25 08:01:16 +02:00
Makefile arm: octeontx: Add support for OcteonTX SoC platforms 2020-08-25 08:01:16 +02:00
smc.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
soc-utils.c arm: octeontx: Add support for OcteonTX SoC platforms 2020-08-25 08:01:16 +02:00