2019-07-22 22:23:47 +08:00
|
|
|
# Copyright (c) 2019 Lexmark International, Inc.
|
2019-11-01 02:19:54 +08:00
|
|
|
# Copyright (c) 2019 Stephanos Ioannidis <root@stephanos.io>
|
2019-07-22 22:23:47 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if SOC_XILINX_ZYNQMP
|
|
|
|
|
|
|
|
config SOC
|
|
|
|
default "xilinx_zynqmp"
|
|
|
|
|
2019-11-01 02:19:54 +08:00
|
|
|
if SOC_XILINX_ZYNQMP_RPU
|
|
|
|
|
2019-07-22 22:23:47 +08:00
|
|
|
config NUM_IRQS
|
|
|
|
# must be >= the highest interrupt number used
|
|
|
|
# - include the UART interrupts
|
|
|
|
default 220
|
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
default 12000000
|
|
|
|
|
2019-11-01 02:19:54 +08:00
|
|
|
endif # SOC_XILINX_ZYNQMP_RPU
|
|
|
|
|
2019-08-28 22:29:26 +08:00
|
|
|
# Workaround for not being able to have commas in macro arguments
|
|
|
|
DT_CHOSEN_Z_FLASH := zephyr,flash
|
|
|
|
|
2019-07-22 22:23:47 +08:00
|
|
|
config FLASH_SIZE
|
2019-10-24 04:15:59 +08:00
|
|
|
default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K)
|
2019-07-22 22:23:47 +08:00
|
|
|
|
|
|
|
config FLASH_BASE_ADDRESS
|
2019-10-24 04:15:59 +08:00
|
|
|
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
|
2019-07-22 22:23:47 +08:00
|
|
|
|
2019-11-01 02:19:54 +08:00
|
|
|
endif # SOC_XILINX_ZYNQMP
|