File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed
boards/arm/mimxrt1064_evk Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ endchoice
15
15
config DISK_DRIVER_SDMMC
16
16
default y if DISK_DRIVERS
17
17
18
+ config IMX_USDHC
19
+ default y if SDHC
20
+
18
21
config FLASH_MCUX_FLEXSPI_NOR
19
22
default y if FLASH
20
23
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ endif()
41
41
zephyr_compile_definitions (
42
42
XIP_EXTERNAL_FLASH
43
43
)
44
+ zephyr_linker_sources (
45
+ RWDATA nocache.ld )
44
46
45
47
zephyr_linker_section_configure (
46
48
SECTION .rom_start
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2020 NXP
3
+ *
4
+ * SPDX-License-Identifier : Apache-2.0
5
+ */
6
+
7
+ . = ALIGN (4);
8
+ KEEP (*(NonCacheable ))
Original file line number Diff line number Diff line change @@ -187,14 +187,14 @@ static ALWAYS_INLINE void clock_init(void)
187
187
USB_EhciPhyInit (kUSB_ControllerEhci1 , CPU_XTAL_CLK_HZ , & usbPhyConfig );
188
188
#endif
189
189
190
- #if DT_NODE_HAS_STATUS (DT_NODELABEL (usdhc1 ), okay ) && CONFIG_DISK_DRIVER_SDMMC
190
+ #if DT_NODE_HAS_STATUS (DT_NODELABEL (usdhc1 ), okay ) && CONFIG_IMX_USDHC
191
191
/* Configure USDHC clock source and divider */
192
192
CLOCK_InitSysPfd (kCLOCK_Pfd0 , 24U );
193
193
CLOCK_SetDiv (kCLOCK_Usdhc1Div , 1U );
194
194
CLOCK_SetMux (kCLOCK_Usdhc1Mux , 1U );
195
195
CLOCK_EnableClock (kCLOCK_Usdhc1 );
196
196
#endif
197
- #if DT_NODE_HAS_STATUS (DT_NODELABEL (usdhc2 ), okay ) && CONFIG_DISK_DRIVER_SDMMC
197
+ #if DT_NODE_HAS_STATUS (DT_NODELABEL (usdhc2 ), okay ) && CONFIG_IMX_USDHC
198
198
/* Configure USDHC clock source and divider */
199
199
CLOCK_InitSysPfd (kCLOCK_Pfd0 , 24U );
200
200
CLOCK_SetDiv (kCLOCK_Usdhc2Div , 1U );
You can’t perform that action at this time.
0 commit comments