summaryrefslogtreecommitdiffstats
path: root/bsps/arm/imxrt/include
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/include
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/include')
-rw-r--r--bsps/arm/imxrt/include/imxrt/memory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsps/arm/imxrt/include/imxrt/memory.h b/bsps/arm/imxrt/include/imxrt/memory.h
index 3fc8f0bbfa..52163d040f 100644
--- a/bsps/arm/imxrt/include/imxrt/memory.h
+++ b/bsps/arm/imxrt/include/imxrt/memory.h
@@ -56,6 +56,10 @@ extern char imxrt_memory_peripheral_begin[];
extern char imxrt_memory_peripheral_end[];
extern char imxrt_memory_peripheral_size[];
+extern char imxrt_memory_flash_raw_begin[];
+extern char imxrt_memory_flash_raw_end[];
+extern char imxrt_memory_flash_raw_size[];
+
extern char imxrt_memory_flash_config_begin[];
extern char imxrt_memory_flash_config_end[];
extern char imxrt_memory_flash_config_size[];