Do not default FLASH_MCUX_FLEXSPI_XIP to enabled when code is not located in flash, this will cause issues if code is executing from ITCM, as the zephyr_code_relocate macro will relocate the flash driver code into itcm, and overwrite the zephyr image. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
32 lines
435 B
Text
32 lines
435 B
Text
# MIMXRT1024-EVK board
|
|
|
|
# Copyright (c) 2020, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_MIMXRT1024_EVK
|
|
|
|
config BOARD
|
|
default "mimxrt1024_evk" if BOARD_MIMXRT1024_EVK
|
|
|
|
choice CODE_LOCATION
|
|
default CODE_FLEXSPI
|
|
endchoice
|
|
|
|
if FLASH
|
|
|
|
config FLASH_MCUX_FLEXSPI_NOR
|
|
default y
|
|
|
|
endif #FLASH
|
|
|
|
if NETWORKING
|
|
|
|
config NET_L2_ETHERNET
|
|
default y
|
|
|
|
config ETH_MCUX_PHY_RESET
|
|
default y
|
|
|
|
endif # NETWORKING
|
|
|
|
endif # BOARD_MIMXRT1024_EVK
|