1# Copyright (c) 2022 Huawei France Technologies SAS
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_QEMU_VIRT_ARM64
5
6config NUM_IRQS
7	# must be >= the highest interrupt number used
8	# - include the UART interrupts
9	# - LPIs (starting at 8192) if GIC_V3_ITS is used
10	default 16384 if GIC_V3_ITS
11	default 220 if !GIC_V3_ITS
12
13# Dummy value, read at runtime
14config SYS_CLOCK_HW_CYCLES_PER_SEC
15	default 1
16
17# Workaround for not being able to have commas in macro arguments
18DT_CHOSEN_Z_FLASH := zephyr,flash
19
20config FLASH_SIZE
21	default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K)
22
23config FLASH_BASE_ADDRESS
24	default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
25
26endif # SOC_QEMU_VIRT_ARM64
27