1# Copyright (c) 2022 Nordic Semiconductor 2# 3# SPDX-License-Identifier: Apache-2.0 4# 5 6DT_FLASH_CONTROLLER := $(dt_nodelabel_path,flashcontroller0) 7 8config FLASH_CONTROLLER_ADDRESS 9 int 10 default $(dt_node_array_prop_int,$(DT_FLASH_CONTROLLER),reg,0) 11 12config FLASH_CONTROLLER_SIZE 13 int 14 default $(dt_node_array_prop_int,$(DT_FLASH_CONTROLLER),reg,1) 15 16config FLASH_CONTROLLER_ADDR_INT_NODELABEL 17 int 18 default $(dt_nodelabel_reg_addr_int,flashcontroller0) 19 20config FLASH_CONTROLLER_ADDR_HEX_NODELABEL 21 hex 22 default $(dt_nodelabel_reg_addr_hex,flashcontroller0) 23 24config FLASH_CONTROLLER_SIZE_INT_NODELABEL 25 int 26 default $(dt_nodelabel_reg_size_int,flashcontroller0) 27 28config FLASH_CONTROLLER_SIZE_HEX_NODELABEL 29 hex 30 default $(dt_nodelabel_reg_size_hex,flashcontroller0) 31 32menu "Zephyr Kernel" 33source "Kconfig.zephyr" 34endmenu 35