1#
2# Copyright (c) 2021 Weidmueller Interface GmbH & Co. KG
3# SPDX-License-Identifier: Apache-2.0
4#
5
6if SOC_FAMILY_XILINX_ZYNQ7000
7
8rsource "*/Kconfig.defconfig"
9
10config NUM_IRQS
11	# must be >= the highest interrupt number used
12	default 96
13
14# Workaround for not being able to have commas in macro arguments
15DT_CHOSEN_Z_FLASH := zephyr,flash
16
17config FLASH_SIZE
18	default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K)
19
20config FLASH_BASE_ADDRESS
21	default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
22
23config SOC_RESET_HOOK
24	default y
25
26endif # SOC_FAMILY_XILINX_ZYNQ7000
27