soc: arm: intel_socfpga_std: Move and convert to HWMv2
Move and convert to HWMv2 `soc/arm/intel_socfpga_std` SoC family configuration, its SoC series `cyclonev`, and SoC `intel_socfpga_std_cyclonev`. Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
This commit is contained in:
committed by
Carles Cufi
parent
841c2a9d99
commit
2271f17a86
@@ -1,6 +1,4 @@
|
||||
# Copyright (c) 2022 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Description:
|
||||
# Adding support for Intel Cyclone V SoC
|
||||
|
||||
add_subdirectory(${SOC_SERIES})
|
||||
8
soc/intel/intel_socfpga_std/Kconfig
Normal file
8
soc/intel/intel_socfpga_std/Kconfig
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_FAMILY_INTEL_SOCFPGA_STD
|
||||
|
||||
rsource "*/Kconfig"
|
||||
|
||||
endif # SOC_FAMILY_INTEL_SOCFPGA_STD
|
||||
8
soc/intel/intel_socfpga_std/Kconfig.defconfig
Normal file
8
soc/intel/intel_socfpga_std/Kconfig.defconfig
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_FAMILY_INTEL_SOCFPGA_STD
|
||||
|
||||
rsource "*/Kconfig.defconfig.series"
|
||||
|
||||
endif # SOC_FAMILY_INTEL_SOCFPGA_STD
|
||||
10
soc/intel/intel_socfpga_std/Kconfig.soc
Normal file
10
soc/intel/intel_socfpga_std/Kconfig.soc
Normal file
@@ -0,0 +1,10 @@
|
||||
# Copyright (c) 2021-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_FAMILY_INTEL_SOCFPGA_STD
|
||||
bool
|
||||
|
||||
config SOC_FAMILY
|
||||
default "intel_socfpga_std" if SOC_FAMILY_INTEL_SOCFPGA_STD
|
||||
|
||||
rsource "*/Kconfig.soc"
|
||||
@@ -1,7 +1,5 @@
|
||||
# Copyright (c) 2022 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Description:
|
||||
# Adding support for Cyclone V SoC FPGA
|
||||
|
||||
zephyr_include_directories(.)
|
||||
zephyr_sources(soc.c)
|
||||
8
soc/intel/intel_socfpga_std/cyclonev/Kconfig
Normal file
8
soc/intel/intel_socfpga_std/cyclonev/Kconfig
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_SERIES_CYCLONE5
|
||||
select ARM
|
||||
select CPU_CORTEX_A9
|
||||
select ARM_ARCH_TIMER_ERRATUM_740657 if ARM_ARCH_TIMER
|
||||
select ARCH_HAS_RESERVED_PAGE_FRAMES
|
||||
@@ -1,13 +1,8 @@
|
||||
# Copyright (c) 2022 Intel Corporation
|
||||
# Copyright (c) 2022-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Description:
|
||||
# Adding support for Cyclone V SoC FPGA
|
||||
|
||||
if SOC_CYCLONE5
|
||||
|
||||
config SOC
|
||||
default "intel_socfpga_std_cyclonev"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 211
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_SERIES_CYCLONE5
|
||||
|
||||
rsource "Kconfig.defconfig.cyclonev*"
|
||||
|
||||
endif # SOC_SERIES_CYCLONE5
|
||||
20
soc/intel/intel_socfpga_std/cyclonev/Kconfig.soc
Normal file
20
soc/intel/intel_socfpga_std/cyclonev/Kconfig.soc
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright (c) 2021-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_SERIES_CYCLONE5
|
||||
bool
|
||||
select SOC_FAMILY_INTEL_SOCFPGA_STD
|
||||
help
|
||||
Intel SoC FPGA Cyclone V Series
|
||||
|
||||
config SOC_SERIES
|
||||
default "cyclonev" if SOC_SERIES_CYCLONE5
|
||||
|
||||
config SOC_CYCLONE5
|
||||
bool
|
||||
select SOC_SERIES_CYCLONE5
|
||||
help
|
||||
Intel SoC FPGA Cyclone V
|
||||
|
||||
config SOC
|
||||
default "intel_socfpga_std_cyclonev" if SOC_CYCLONE5
|
||||
6
soc/intel/intel_socfpga_std/soc.yml
Normal file
6
soc/intel/intel_socfpga_std/soc.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
family:
|
||||
- name: intel_socfpga_std
|
||||
series:
|
||||
- name: cyclonev
|
||||
socs:
|
||||
- name: intel_socfpga_std_cyclonev
|
||||
@@ -1,15 +0,0 @@
|
||||
# Copyright (c) 2022 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Description:
|
||||
# Adding support to Cyclone V SoC FPGA
|
||||
|
||||
config SOC_FAMILY_INTEL_SOCFPGA_STD
|
||||
bool
|
||||
|
||||
if SOC_FAMILY_INTEL_SOCFPGA_STD
|
||||
config SOC_FAMILY
|
||||
string
|
||||
default "intel_socfpga_std"
|
||||
|
||||
source "soc/soc_legacy/arm/intel_socfpga_std/*/Kconfig.soc"
|
||||
endif
|
||||
@@ -1,6 +0,0 @@
|
||||
# Copyright (c) 2022 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Description:
|
||||
# Adding support for Cyclone V SoC FPGA
|
||||
|
||||
source "soc/soc_legacy/arm/intel_socfpga_std/*/Kconfig.defconfig.series"
|
||||
@@ -1,6 +0,0 @@
|
||||
# Copyright (c) 2021 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Description:
|
||||
# Adding support for Cyclone V SoC FPGA
|
||||
|
||||
source "soc/soc_legacy/arm/intel_socfpga_std/*/Kconfig.series"
|
||||
@@ -1,13 +0,0 @@
|
||||
# Copyright (c) 2022 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Description:
|
||||
# Adding support for Cyclone V SoC FPGA
|
||||
|
||||
if SOC_SERIES_CYCLONE5
|
||||
|
||||
config SOC_SERIES
|
||||
default "cyclonev"
|
||||
|
||||
source "soc/soc_legacy/arm/intel_socfpga_std/cyclonev/Kconfig.defconfig.cyclonev*"
|
||||
|
||||
endif # SOC_SERIES_CYCLONE5
|
||||
@@ -1,14 +0,0 @@
|
||||
# Copyright (c) 2022 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Description
|
||||
# Adding configuration options for Cyclone V SoC FPGA
|
||||
|
||||
config SOC_SERIES_CYCLONE5
|
||||
bool "Intel SoC FPGA Cyclone5 Series"
|
||||
select ARM
|
||||
select CPU_CORTEX_A9
|
||||
select SOC_FAMILY_INTEL_SOCFPGA_STD
|
||||
select ARM_ARCH_TIMER_ERRATUM_740657 if ARM_ARCH_TIMER
|
||||
select ARCH_HAS_RESERVED_PAGE_FRAMES
|
||||
help
|
||||
Support for Intel SoC FPGA Series
|
||||
@@ -1,12 +0,0 @@
|
||||
# Copyright (c) 2021 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Description:
|
||||
# Adding support to Cyclone V SoC FPGA
|
||||
|
||||
choice
|
||||
prompt "Intel SoC FPGA Cyclone5"
|
||||
depends on SOC_SERIES_CYCLONE5
|
||||
|
||||
config SOC_CYCLONE5
|
||||
bool "Intel SoC FPGA Cyclone5"
|
||||
endchoice
|
||||
Reference in New Issue
Block a user