1# Copyright 2022 NXP
2# SPDX-License-Identifier: Apache-2.0
3source "Kconfig.zephyr"
4# Workaround for not being able to have commas in macro arguments
5DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
6
7config BUILD_OUTPUT_ADJUST_LMA
8	default "$(dt_node_reg_addr_hex,$(dt_nodelabel_path,slot1_partition))-\
9		$(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_PARTITION))"
10