1# Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_QEMU_CORTEX_A53
5
6config SOC
7	default "qemu_cortex_a53"
8
9config NUM_IRQS
10	# must be >= the highest interrupt number used
11	# - include the UART interrupts
12	default 220
13
14config SYS_CLOCK_HW_CYCLES_PER_SEC
15	default 62500000
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_CORTEX_A53
27