soc: xtensa_sample_controller: Port to HWMv2

Ports the xtensa_sample_controller SoC configuration to hardware
model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-01-18 08:13:34 +00:00
parent dbc413f7f7
commit fcaa41cb5d
7 changed files with 16 additions and 17 deletions

View File

@@ -2,7 +2,6 @@
# SPDX-License-Identifier: Apache-2.0
config SOC_XTENSA_SAMPLE_CONTROLLER
bool "Xtensa sample_controller core"
select XTENSA
select XTENSA_HAL
select ARCH_SUPPORTS_COREDUMP

View File

@@ -0,0 +1,12 @@
# Copyright (c) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config SOC_XTENSA_SAMPLE_CONTROLLER
bool
config SOC
default "xtensa_sample_controller" if SOC_XTENSA_SAMPLE_CONTROLLER
config SOC_TOOLCHAIN_NAME
string
default "sample_controller" if SOC_XTENSA_SAMPLE_CONTROLLER

View File

@@ -0,0 +1,4 @@
series:
- name: xtensa_sample_controller
socs:
- name: xtensa_sample_controller

View File

@@ -1,16 +0,0 @@
# XTENSA board configuration
# Copyright (c) 2016 Open-RnD Sp. z o.o.
# Copyright (c) 2016 Cadence Design Systems, Inc.
# SPDX-License-Identifier: Apache-2.0
if SOC_XTENSA_SAMPLE_CONTROLLER
config SOC
default "sample_controller"
config SOC_TOOLCHAIN_NAME
string
default "sample_controller"
endif