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 7config SOC 8 default "xilinx_zynqmp" 9 10if SOC_XILINX_ZYNQMP_RPU 11 12config NUM_IRQS 13 # must be >= the highest interrupt number used 14 # - include the UART interrupts 15 default 220 16 17config SYS_CLOCK_HW_CYCLES_PER_SEC 18 default 5000000 19 20endif # SOC_XILINX_ZYNQMP_RPU 21 22# Workaround for not being able to have commas in macro arguments 23DT_CHOSEN_Z_FLASH := zephyr,flash 24 25config FLASH_SIZE 26 default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K) 27 28config FLASH_BASE_ADDRESS 29 default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) 30 31endif # SOC_XILINX_ZYNQMP 32