ext: hal: rt1064: add support for XIP and DCD

- Add cmake files to enable XIP

Signed-off-by: Ryan QIAN <jianghao.qian@nxp.com>
This commit is contained in:
Ryan QIAN 2019-01-15 07:10:47 +08:00 committed by Maureen Helm
parent 7a861d5769
commit 41a7aa9e03
2 changed files with 12 additions and 0 deletions

View file

@ -7,3 +7,4 @@
add_subdirectory_ifdef(CONFIG_BOARD_MIMXRT1020_EVK evkmimxrt1020)
add_subdirectory_ifdef(CONFIG_BOARD_MIMXRT1050_EVK evkbimxrt1050)
add_subdirectory_ifdef(CONFIG_BOARD_MIMXRT1060_EVK evkmimxrt1060)
add_subdirectory_ifdef(CONFIG_BOARD_MIMXRT1064_EVK evkmimxrt1064)

View file

@ -0,0 +1,11 @@
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
zephyr_compile_definitions_ifdef(CONFIG_NXP_IMX_RT_BOOT_HEADER XIP_BOOT_HEADER_ENABLE=1)
zephyr_compile_definitions_ifdef(CONFIG_DEVICE_CONFIGURATION_DATA XIP_BOOT_HEADER_DCD_ENABLE=1)
zephyr_sources_ifdef(CONFIG_BOOT_FLEXSPI_NOR evkmimxrt1064_flexspi_nor_config.c)
zephyr_sources_ifdef(CONFIG_DEVICE_CONFIGURATION_DATA evkmimxrt1064_sdram_ini_dcd.c)