1# MIMXRT1170-EVK board
2
3# Copyright 2021,2023 NXP
4# SPDX-License-Identifier: Apache-2.0
5
6if BOARD_MIMXRT1170_EVK
7
8# Use External Memory Configuration Data (XMCD) by default when booting primary core (M7)
9config EXTERNAL_MEM_CONFIG_DATA
10	default y if CPU_CORTEX_M7
11
12config NXP_IMX_EXTERNAL_SDRAM
13	default y if CPU_CORTEX_M7
14
15if SECOND_CORE_MCUX && CPU_CORTEX_M4
16
17config BUILD_OUTPUT_INFO_HEADER
18	default y
19
20DT_CHOSEN_IMAGE_M4 = nxp,m4-partition
21
22# Adjust the offset of the output image if building for RT11xx SOC
23config BUILD_OUTPUT_ADJUST_LMA
24	default "($(dt_chosen_reg_addr_hex,$(DT_CHOSEN_IMAGE_M4)) + \
25	$(dt_node_reg_addr_hex,/soc/spi@400cc000,1)) - \
26	$(dt_node_reg_addr_hex,/soc/ocram@20200000)"
27
28endif
29
30if DISK_DRIVERS
31
32config IMX_USDHC_DAT3_PWR_TOGGLE
33	default y
34
35endif # DISK_DRIVERS
36
37if NETWORKING
38
39config NET_L2_ETHERNET
40	default y if CPU_CORTEX_M7 # No cache memory support is required for driver
41
42config ETH_MCUX_PHY_RESET
43	default y
44
45endif # NETWORKING
46
47endif
48