Merge tag 'soc2arch-immutable' into riscv-dt-for-next
authorConor Dooley <conor.dooley@microchip.com>
Fri, 30 Dec 2022 11:51:14 +0000 (11:51 +0000)
committerConor Dooley <conor.dooley@microchip.com>
Fri, 30 Dec 2022 11:51:14 +0000 (11:51 +0000)
commit093ee97e24f8555fbe678a20401de91fcd305ce4
treeef5f5240f722896311fa2cd6480536b5205df220
parent97b7ed07278436099a38da48ba6556e7cb25f57b
parent3af577f9826fdddefac42b35fc5eb3912c5b7d85
Merge tag 'soc2arch-immutable' into riscv-dt-for-next

SOC_FOO to ARCH_FOO conversion for RISC-V

RISC-V is an outlier in using SOC_FOO rather than ARCH_FOO for
vendors/micro-archs. SOC_FOO may make more sense (I personally prefer
it), but the rest of the "world" uses ARCH_FOO. That'd be fine, with
with an increasing number of existing SoC vendors moving to RISC-V,
unifying our symbol names with the expectations of the rest of the world
makes sense.
Folks did not seem keen on changing the world (and they can't really be
blamed for that) so convert RISC-V over to match.

Add some ARCH_FOO stubs alongside the existing SOC_FOO ones, which will
be removed once all users of SOC_FOO have been converted*, and convert
the DT bits of RISC-V kbuild over to the new symbols.

* It may be best to wait until after the next LTS to remove the SOC_FOO
  ones, for the sake of external users.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>