1# Copyright (c) 2021 Telink Semiconductor 2# SPDX-License-Identifier: Apache-2.0 3 4if BOARD_TLSR9518ADK80D 5 6config SOC_FLASH_TELINK_B91 7 default y if FLASH 8 9# Workaround for not being able to have commas in macro arguments 10DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition 11 12config FLASH_LOAD_OFFSET 13 default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_PARTITION)) if USE_DT_CODE_PARTITION 14 15# Buffer for image writter shall be less(multiple of access alignment) or 16# equal to flash page. tlsr9518adk80d boards use external P25Q16 IC as 17# flesh memory. Flash page size of the IC is 256 bytes. So that, it is 18# maximum image writer buffer size for such kind of boards. 19config IMG_BLOCK_BUF_SIZE 20 default 256 if MCUBOOT_IMG_MANAGER 21 22endif 23