cmake: remove dead 'soc_legacy' folder handling

During HWMv2 migration, non-ported SoCs were placed in a 'soc_legacy'
folder and sourced from there instead of 'soc' folder.

Remove the no-longer needed soc_legacy folder.

CMake oot SoCs in old hardware model are sourced from
'<soc-root>/soc/<arch>/<soc-path>' which has always been the case, also
before HWMv2.

Remove the 'osource "soc/soc_legacy/...' generation in Kconfig, because
the source is relative to Zephyr base.
All SoCs in Zephyr repository has been ported to the new hardware model
and therefore there is no need for this line.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2024-06-10 16:28:53 +02:00 committed by David Leach
commit 0d51cb08c4
4 changed files with 0 additions and 11 deletions

View file

@ -9,9 +9,6 @@ menu "Hardware Configuration"
rsource "Kconfig.$(HWM_SCHEME)"
# This loads Zephyr base SoC Kconfigs for both hw model v1 and v2
osource "soc/soc_legacy/$(ARCH)/Kconfig"
# Source Zephyr Kconfig specifics from SoC roots.
osource "$(KCONFIG_BINARY_DIR)/soc/Kconfig"