1# Copyright (c) 2019 Lexmark International, Inc.
2# Copyright (c) 2019 Stephanos Ioannidis <root@stephanos.io>
3# SPDX-License-Identifier: Apache-2.0
4
5if SOC_XILINX_ZYNQMP
6
7if SOC_XILINX_ZYNQMP_RPU
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 5000000
16
17endif # SOC_XILINX_ZYNQMP_RPU
18
19# Workaround for not being able to have commas in macro arguments
20DT_CHOSEN_Z_FLASH := zephyr,flash
21
22config FLASH_SIZE
23	default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K)
24
25config FLASH_BASE_ADDRESS
26	default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
27
28endif # SOC_XILINX_ZYNQMP
29