Browse Source
Ports the SoC configuration to hardware model version 2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>pull/69687/head
17 changed files with 84 additions and 64 deletions
@ -1,4 +1,8 @@ |
|||||||
# Copyright (c) 2024 Nordic Semiconductor ASA |
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
source "soc/soc_legacy/riscv/microchip_miv/*/Kconfig.defconfig.series" |
if SOC_FAMILY_MICROCHIP_MIV |
||||||
|
|
||||||
|
rsource "*/Kconfig" |
||||||
|
|
||||||
|
endif # SOC_FAMILY_MICROCHIP_MIV |
@ -0,0 +1,8 @@ |
|||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
if SOC_FAMILY_MICROCHIP_MIV |
||||||
|
|
||||||
|
rsource "*/Kconfig.defconfig" |
||||||
|
|
||||||
|
endif # SOC_FAMILY_MICROCHIP_MIV |
@ -0,0 +1,10 @@ |
|||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_FAMILY_MICROCHIP_MIV |
||||||
|
bool |
||||||
|
|
||||||
|
config SOC_FAMILY |
||||||
|
default "microchip_miv" if SOC_FAMILY_MICROCHIP_MIV |
||||||
|
|
||||||
|
rsource "*/Kconfig.soc" |
@ -0,0 +1,22 @@ |
|||||||
|
# RISCV32_MIV configuration options |
||||||
|
|
||||||
|
# Copyright (c) 2018 Antmicro <www.antmicro.com> |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_SERIES_MIV |
||||||
|
bool |
||||||
|
select SOC_FAMILY_MICROCHIP_MIV |
||||||
|
help |
||||||
|
Microchip Mi-V implementation# |
||||||
|
|
||||||
|
config SOC_MIV |
||||||
|
bool |
||||||
|
select SOC_SERIES_MIV |
||||||
|
help |
||||||
|
Microchip Mi-V system implementation |
||||||
|
|
||||||
|
config SOC_SERIES |
||||||
|
default "miv" if SOC_SERIES_MIV |
||||||
|
|
||||||
|
config SOC |
||||||
|
default "miv" if SOC_MIV |
@ -0,0 +1,22 @@ |
|||||||
|
# RISCV64_MIV Microchip Polarfire SOC configuration options |
||||||
|
|
||||||
|
# Copyright (c) 2020-2021 Microchip Technology Inc |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_SERIES_POLARFIRE |
||||||
|
bool |
||||||
|
select SOC_FAMILY_MICROCHIP_MIV |
||||||
|
help |
||||||
|
Microchip RV64 implementation |
||||||
|
|
||||||
|
config SOC_POLARFIRE |
||||||
|
bool |
||||||
|
select SOC_SERIES_POLARFIRE |
||||||
|
help |
||||||
|
Microchip MPFS system implementation |
||||||
|
|
||||||
|
config SOC_SERIES |
||||||
|
default "polarfire" if SOC_SERIES_POLARFIRE |
||||||
|
|
||||||
|
config SOC |
||||||
|
default "polarfire" if SOC_POLARFIRE |
@ -0,0 +1,9 @@ |
|||||||
|
family: |
||||||
|
- name: microchip_miv |
||||||
|
series: |
||||||
|
- name: miv |
||||||
|
socs: |
||||||
|
- name: miv |
||||||
|
- name: polarfire |
||||||
|
socs: |
||||||
|
- name: polarfire |
@ -1,15 +0,0 @@ |
|||||||
# Copyright (c) 2024 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_FAMILY_MICROCHIP_MIV |
|
||||||
bool |
|
||||||
|
|
||||||
if SOC_FAMILY_MICROCHIP_MIV |
|
||||||
|
|
||||||
config SOC_FAMILY |
|
||||||
string |
|
||||||
default "microchip_miv" |
|
||||||
|
|
||||||
source "soc/soc_legacy/riscv/microchip_miv/*/Kconfig.soc" |
|
||||||
|
|
||||||
endif # SOC_FAMILY_MICROCHIP_MIV |
|
@ -1,4 +0,0 @@ |
|||||||
# Copyright (c) 2024 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
source "soc/soc_legacy/riscv/microchip_miv/*/Kconfig.series" |
|
@ -1,13 +0,0 @@ |
|||||||
# RISCV32_MIV implementation |
|
||||||
|
|
||||||
# Copyright (c) 2018 Antmicro <www.antmicro.com> |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_SERIES_MIV |
|
||||||
bool "Microchip Mi-V implementation" |
|
||||||
select SOC_FAMILY_MICROCHIP_MIV |
|
||||||
select RISCV |
|
||||||
select RISCV_PRIVILEGED |
|
||||||
select RISCV_HAS_PLIC |
|
||||||
help |
|
||||||
Enable support for Microchip Mi-V |
|
@ -1,13 +0,0 @@ |
|||||||
# RISCV64_MIV implementation |
|
||||||
|
|
||||||
# Copyright (c) 2018 Antmicro <www.antmicro.com> |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_SERIES_POLARFIRE |
|
||||||
bool "Microchip RV64 implementation" |
|
||||||
select SOC_FAMILY_MICROCHIP_MIV |
|
||||||
select RISCV |
|
||||||
select RISCV_PRIVILEGED |
|
||||||
select RISCV_HAS_PLIC |
|
||||||
help |
|
||||||
Enable support for Microchip RISCV 64bit |
|
Loading…
Reference in new issue