The driver isn't currently buildable due to "west blobs" support never having been added for hal_telink. Furthermore, even if the blob dependency is manually made available it turns out the code has bitrotten to the point where it doesn't build anymore. This situation has continued for several years without anyone taking action, so I think it's safe to assume this is unmaintained and should be removed. Signed-off-by: Johan Hedberg <johan.hedberg@gmail.com>
22 lines
735 B
Text
22 lines
735 B
Text
# Copyright (c) 2021 Telink Semiconductor
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_TLSR9518ADK80D
|
|
|
|
config SOC_FLASH_TELINK_B91
|
|
default y if FLASH
|
|
|
|
# Workaround for not being able to have commas in macro arguments
|
|
DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
|
|
|
|
config FLASH_LOAD_OFFSET
|
|
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_PARTITION)) if USE_DT_CODE_PARTITION
|
|
|
|
# Buffer for image writter shall be less(multiple of access alignment) or
|
|
# equal to flash page. tlsr9518adk80d boards use external P25Q16 IC as
|
|
# flesh memory. Flash page size of the IC is 256 bytes. So that, it is
|
|
# maximum image writer buffer size for such kind of boards.
|
|
config IMG_BLOCK_BUF_SIZE
|
|
default 256 if MCUBOOT_IMG_MANAGER
|
|
|
|
endif
|