1# Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_QEMU_CORTEX_A53
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
13config SYS_CLOCK_HW_CYCLES_PER_SEC
14	default 62500000
15
16# Workaround for not being able to have commas in macro arguments
17DT_CHOSEN_Z_FLASH := zephyr,flash
18
19config FLASH_SIZE
20	default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K)
21
22config FLASH_BASE_ADDRESS
23	default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
24
25endif # SOC_QEMU_CORTEX_A53
26