summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm/imxrt/optmemsdramsz.yml
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2021-05-28 16:54:00 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2021-07-02 13:49:47 +0200
commit0d3453a47e522fbb13b211e44ce4007b666686f3 (patch)
treea954f2d9286bbbb33f639e8305df99d9e9a60603 /spec/build/bsps/arm/imxrt/optmemsdramsz.yml
parentbsps/imxrt: Allow different ARM PLL setting (diff)
downloadrtems-0d3453a47e522fbb13b211e44ce4007b666686f3.tar.bz2
bsps/imxrt: Simplify linkcmds and make it flexible
Calling the memory FLASH and EXTRAM instead of FLEXSPI and SDRAM makes it simpler to support other types of external RAM. This patch also removes some of the calculations and improves names and documentation to avoid pitfalls. It removes a unnecessary memory definition. Update #4180
Diffstat (limited to '')
-rw-r--r--spec/build/bsps/arm/imxrt/optmemflashorigin.yml (renamed from spec/build/bsps/arm/imxrt/optmemsdramsz.yml)9
1 files changed, 6 insertions, 3 deletions
diff --git a/spec/build/bsps/arm/imxrt/optmemsdramsz.yml b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
index 315b5271dc..882ade680c 100644
--- a/spec/build/bsps/arm/imxrt/optmemsdramsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
@@ -1,15 +1,18 @@
actions:
- get-integer: null
- env-assign: null
+- define-unquoted: IMXRT_MEMORY_FLASH_ORIGIN
build-type: option
-default: 33554432
+default: 0x60000000
default-by-variant: []
enabled-by: true
format: '{:#010x}'
links: []
-name: IMXRT_MEMORY_SDRAM_SIZE
+name: IMXRT_MEMORY_FLASH_ORIGIN
description: |
- Size of the SDRAM in bytes.
+ Origin of the external flash memory. That can be for example a flash
+ connected to FlexSPI or to SEMC. The default value is for a HyperFlash
+ connected to FlexSPI.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights: