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