We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0462e0a commit 24d8599Copy full SHA for 24d8599
hal/imx_rt.c
@@ -875,7 +875,7 @@ static int RAMFUNCTION hal_flash_init(void)
875
g_bootloaderTree = (bootloader_api_entry_t *)*(uint32_t *)0x0020001c;
876
#ifdef USE_GET_CONFIG
877
memset(&flexspi_cfg_option, 0, sizeof(flexspi_cfg_option));
878
- flexspi_cfg_option.option0.U = 0xC0000007; /* QuadSPI-NOR, f = default */
+ flexspi_cfg_option.option0.U = 0xC0000000 | CONFIG_SERIAL_CLK_FREQ; /* QuadSPI-NOR */
879
/**
880
* Disable interrupts before accessing flash when using XIP
881
* (note 4 p.279 in i.MX RT1060 Processor Reference Manual, Rev. 3, 07/2021)
0 commit comments