soc: riscv: virt: reorganize SoC folder
Move out of riscv-privileged, and convert to single SoC (no family/series). Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
b7b19b8b05
commit
7da6342dff
|
@ -1,6 +1,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_RISCV_VIRT=y
|
|
||||||
CONFIG_SOC_RISCV_VIRT=y
|
CONFIG_SOC_RISCV_VIRT=y
|
||||||
CONFIG_BOARD_QEMU_RISCV32=y
|
CONFIG_BOARD_QEMU_RISCV32=y
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_CONSOLE=y
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_RISCV_VIRT=y
|
|
||||||
CONFIG_SOC_RISCV_VIRT=y
|
CONFIG_SOC_RISCV_VIRT=y
|
||||||
CONFIG_BOARD_QEMU_RISCV32_SMP=y
|
CONFIG_BOARD_QEMU_RISCV32_SMP=y
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_CONSOLE=y
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_RISCV_VIRT=y
|
|
||||||
CONFIG_SOC_RISCV_VIRT=y
|
CONFIG_SOC_RISCV_VIRT=y
|
||||||
CONFIG_BOARD_QEMU_RISCV32E=y
|
CONFIG_BOARD_QEMU_RISCV32E=y
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_CONSOLE=y
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_RISCV_VIRT=y
|
|
||||||
CONFIG_SOC_RISCV_VIRT=y
|
CONFIG_SOC_RISCV_VIRT=y
|
||||||
CONFIG_BOARD_QEMU_RISCV64=y
|
CONFIG_BOARD_QEMU_RISCV64=y
|
||||||
CONFIG_PRIVILEGED_STACK_SIZE=2048
|
CONFIG_PRIVILEGED_STACK_SIZE=2048
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_RISCV_VIRT=y
|
|
||||||
CONFIG_SOC_RISCV_VIRT=y
|
CONFIG_SOC_RISCV_VIRT=y
|
||||||
CONFIG_BOARD_QEMU_RISCV64_SMP=y
|
CONFIG_BOARD_QEMU_RISCV64_SMP=y
|
||||||
CONFIG_PRIVILEGED_STACK_SIZE=2048
|
CONFIG_PRIVILEGED_STACK_SIZE=2048
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
# Copyright (c) 2020 Cobham Gaisler AB
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
config SOC_SERIES_RISCV_VIRT
|
|
||||||
bool "QEMU RISC-V VirtIO Board"
|
|
||||||
select RISCV
|
|
||||||
select RISCV_PRIVILEGED
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Copyright (c) 2020 Cobham Gaisler AB
|
# Copyright (c) 2020 Cobham Gaisler AB
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
if SOC_SERIES_RISCV_VIRT
|
if SOC_RISCV_VIRT
|
||||||
|
|
||||||
config SOC_SERIES
|
config SOC
|
||||||
default "virt"
|
default "virt"
|
||||||
|
|
||||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
@ -1,10 +1,6 @@
|
||||||
# Copyright (c) 2020 Cobham Gaisler AB
|
# Copyright (c) 2020 Cobham Gaisler AB
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
choice
|
|
||||||
prompt "QEMU RISC-V VirtIO Board"
|
|
||||||
depends on SOC_SERIES_RISCV_VIRT
|
|
||||||
|
|
||||||
config SOC_RISCV_VIRT
|
config SOC_RISCV_VIRT
|
||||||
bool "QEMU RISC-V VirtIO Board"
|
bool "QEMU RISC-V VirtIO Board"
|
||||||
select ATOMIC_OPERATIONS_BUILTIN
|
select ATOMIC_OPERATIONS_BUILTIN
|
||||||
|
@ -12,5 +8,6 @@ config SOC_RISCV_VIRT
|
||||||
select RISCV_ISA_EXT_M
|
select RISCV_ISA_EXT_M
|
||||||
select RISCV_ISA_EXT_A
|
select RISCV_ISA_EXT_A
|
||||||
select RISCV_ISA_EXT_C
|
select RISCV_ISA_EXT_C
|
||||||
|
select RISCV
|
||||||
endchoice
|
select RISCV_PRIVILEGED
|
||||||
|
select RISCV_PRIVILEGED_STANDALONE
|
Loading…
Reference in a new issue