Skip to content
Snippets Groups Projects
Commit e72230f5 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Drew Fustini
Browse files

hw/riscv: build example SoC when CBQRI_EXAMPLE_SOC enabled


Build the example SoC instantiation code when CBQRI_EXAMPLE_SOC is
enabled.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
Signed-off-by: default avatarDrew Fustini <dfustini@baylibre.com>
parent d3651f3d
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,7 @@ config RISCV_VIRT
select PLATFORM_BUS
select ACPI
imply RISCV_CBQRI
imply CBQRI_EXAMPLE_SOC
config SHAKTI_C
bool
......@@ -88,3 +89,7 @@ config SPIKE
select HTIF
select RISCV_ACLINT
select SIFIVE_PLIC
config CBQRI_EXAMPLE_SOC
bool
select RISCV_CBQRI
......@@ -12,5 +12,6 @@ riscv_ss.add(when: 'CONFIG_MICROCHIP_PFSOC', if_true: files('microchip_pfsoc.c')
riscv_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c'))
riscv_ss.add(when: 'CONFIG_RISCV_CBQRI',
if_true: files('cbqri_capacity.c', 'cbqri_bandwidth.c'))
riscv_ss.add(when: 'CONFIG_CBQRI_EXAMPLE_SOC', if_true: files('cbqri_example_soc.c'))
hw_arch += {'riscv': riscv_ss}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment