OSDN Git Service

RISC-V: introduce ARCH_FOO kconfig aliases for SOC_FOO symbols
authorConor Dooley <conor.dooley@microchip.com>
Sun, 20 Nov 2022 20:59:41 +0000 (20:59 +0000)
committerConor Dooley <conor.dooley@microchip.com>
Tue, 27 Dec 2022 18:01:40 +0000 (18:01 +0000)
commit444c3dbdabd468196bd55712863f7e125909008f
tree63ad1f8ffc41816a293845ab827bbffdb326d80b
parent1b929c02afd37871d5afb9d498426f83432e71c2
RISC-V: introduce ARCH_FOO kconfig aliases for SOC_FOO symbols

To facilitate a transfer from SOC_FOO to ARCH_FOO, over a release cycle,
introduce some aliases so that drivers etc that use the SOC_FOO symbols
can be converted.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
To me, the most straight-forward conversion looks like so:
- this patch is applied in week 2 of the merge window, to avoid
  any conflicts with the Renesas tree
- all users of the SOC_ variants can be converted over a release cycle
  (or more) & no trees need to merge an immutable branch.
- we convert defconfig etc over after all users are converted
- doing it over at least one release cycle means that `make oldconfig`
  will keep people's configs working as they upgrade
- any new SoC families added uses ARCH_FOO
arch/riscv/Kconfig.socs