zephyr/boards/nxp/mimxrt1170_evk/Kconfig.defconfig

57 lines
1.2 KiB
Plaintext

# MIMXRT1170-EVK board
# Copyright 2021,2023 NXP
# SPDX-License-Identifier: Apache-2.0
if BOARD_MIMXRT1170_EVK
# Use External Memory Configuration Data (XMCD) by default when booting primary core (M7)
config EXTERNAL_MEM_CONFIG_DATA
default y if CPU_CORTEX_M7
config NXP_IMX_EXTERNAL_SDRAM
default y if CPU_CORTEX_M7
if SECOND_CORE_MCUX && CPU_CORTEX_M4
config BUILD_OUTPUT_INFO_HEADER
default y
DT_CHOSEN_IMAGE_M4 = nxp,m4-partition
# Adjust the offset of the output image if building for RT11xx SOC
config BUILD_OUTPUT_ADJUST_LMA
default "($(dt_chosen_reg_addr_hex,$(DT_CHOSEN_IMAGE_M4)) + \
$(dt_node_reg_addr_hex,/soc/spi@400cc000,1)) - \
$(dt_node_reg_addr_hex,/soc/ocram@20200000)"
endif
if DISK_DRIVERS
config IMX_USDHC_DAT3_PWR_TOGGLE
default y
endif # DISK_DRIVERS
if FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
choice FLASH_MCUX_FLEXSPI_XIP_MEM_TARGET
default FLASH_MCUX_FLEXSPI_XIP_MEM_ITCM if CPU_CORTEX_M7
default FLASH_MCUX_FLEXSPI_XIP_MEM_SRAM if CPU_CORTEX_M4
endchoice
endif # FLASH_MCUX_FLEXSPI_XIP && MEMC_MCUX_FLEXSPI
if NETWORKING
config NET_L2_ETHERNET
default y if CPU_CORTEX_M7 # No cache memory support is required for driver
config ETH_MCUX_PHY_RESET
default y
endif # NETWORKING
endif