From 0d3453a47e522fbb13b211e44ce4007b666686f3 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Fri, 28 May 2021 16:54:00 +0200 Subject: 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 --- spec/build/bsps/arm/imxrt/optmemflashorigin.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 spec/build/bsps/arm/imxrt/optmemflashorigin.yml (limited to 'spec/build/bsps/arm/imxrt/optmemflashorigin.yml') diff --git a/spec/build/bsps/arm/imxrt/optmemflashorigin.yml b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml new file mode 100644 index 0000000000..882ade680c --- /dev/null +++ b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml @@ -0,0 +1,19 @@ +actions: +- get-integer: null +- env-assign: null +- define-unquoted: IMXRT_MEMORY_FLASH_ORIGIN +build-type: option +default: 0x60000000 +default-by-variant: [] +enabled-by: true +format: '{:#010x}' +links: [] +name: IMXRT_MEMORY_FLASH_ORIGIN +description: | + 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: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -- cgit v1.2.3