summaryrefslogtreecommitdiffstats
path: root/bsps/arm/imxrt/start/flash-boot-data.c
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2023-07-13 10:53:34 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2023-07-24 14:40:59 +0200
commit780149bc385b2b7670012e6b46bbd172cbbebd65 (patch)
tree93847f3c4c41eaf758a1cdc7c503b297ec8f7bf2 /bsps/arm/imxrt/start/flash-boot-data.c
parentbsps/imx*: Support more GPIO controllers (diff)
downloadrtems-780149bc385b2b7670012e6b46bbd172cbbebd65.tar.bz2
bsps/imsrt: Make flash config more flexible
The flash configuration is something very board specific. So move the file to a board specific location. Beneath that, not all controllers and configurations need the flash config right at the address 0 of the flash. For example on the i.MXRT11xx, the config has an offset for some flash types.
Diffstat (limited to 'bsps/arm/imxrt/start/flash-boot-data.c')
-rw-r--r--bsps/arm/imxrt/start/flash-boot-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/arm/imxrt/start/flash-boot-data.c b/bsps/arm/imxrt/start/flash-boot-data.c
index 485f91c8ec..2186fc08bf 100644
--- a/bsps/arm/imxrt/start/flash-boot-data.c
+++ b/bsps/arm/imxrt/start/flash-boot-data.c
@@ -30,7 +30,7 @@
#include <bspopts.h>
const BOOT_DATA_T imxrt_boot_data = {
- .start = (uint32_t) imxrt_memory_flash_config_begin,
+ .start = (uint32_t) imxrt_memory_flash_raw_begin,
.size = IMXRT_MEMORY_FLASH_SIZE,
.plugin = PLUGIN_FLAG,
.placeholder = 0xFFFFFFFF,