diff options
author | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2020-11-24 17:22:38 +0100 |
---|---|---|
committer | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2021-01-21 10:17:31 +0100 |
commit | a434cc80cb00e2f15a51205d6b813fc8c58803ac (patch) | |
tree | 529175a1921562532778e3adc7dc7a53ee518788 /spec | |
parent | bsps/shared: Copy fsl-edma from mpc55xx (diff) | |
download | rtems-a434cc80cb00e2f15a51205d6b813fc8c58803ac.tar.bz2 |
bsps/shared: Adapt fsl-edma driver for imxrt
Note: The changes have been done with portability in mind. The driver
should (in theory) be able to replace the original one in the MPC BSPs
too. For full compatibility an adaption layer and especially a test
would be necessary. Because both are missing, don't integrate it into
the MPC BSP now.
Update #4180
Diffstat (limited to 'spec')
-rw-r--r-- | spec/build/bsps/arm/imxrt/bspimxrt.yml | 2 | ||||
-rw-r--r-- | spec/build/bsps/arm/imxrt/optfsledmaemlm.yml | 16 | ||||
-rw-r--r-- | spec/build/bsps/obj.yml | 5 |
3 files changed, 23 insertions, 0 deletions
diff --git a/spec/build/bsps/arm/imxrt/bspimxrt.yml b/spec/build/bsps/arm/imxrt/bspimxrt.yml index 30f7927f21..be4a4bb566 100644 --- a/spec/build/bsps/arm/imxrt/bspimxrt.yml +++ b/spec/build/bsps/arm/imxrt/bspimxrt.yml @@ -119,6 +119,8 @@ links: - role: build-dependency uid: ../../optconsoleirq - role: build-dependency + uid: optfsledmaemlm +- role: build-dependency uid: optlinkcmds - role: build-dependency uid: optmemflashcfgsz diff --git a/spec/build/bsps/arm/imxrt/optfsledmaemlm.yml b/spec/build/bsps/arm/imxrt/optfsledmaemlm.yml new file mode 100644 index 0000000000..80c840373d --- /dev/null +++ b/spec/build/bsps/arm/imxrt/optfsledmaemlm.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: true +default-by-variant: [] +description: | + Enable the minor loop mapping of the Freescale EDMA. +enabled-by: true +format: '{}' +links: [] +name: BSP_FSL_EDMA_EMLM +type: build diff --git a/spec/build/bsps/obj.yml b/spec/build/bsps/obj.yml index b598d54d16..abed6bc76f 100644 --- a/spec/build/bsps/obj.yml +++ b/spec/build/bsps/obj.yml @@ -28,6 +28,10 @@ install: source: - bsps/include/ofw/ofw.h - bsps/include/ofw/ofw_compat.h +- destination: ${BSP_INCLUDEDIR}/fsl + source: + - bsps/include/fsl/edma.h + - bsps/include/fsl/regs-edma.h - destination: ${BSP_INCLUDEDIR}/libchip source: - bsps/include/libchip/ata.h @@ -72,6 +76,7 @@ links: source: - bsps/shared/dev/display/disp_hcms29xx.c - bsps/shared/dev/display/font_hcms29xx.c +- bsps/shared/dev/dma/fsl-edma.c - bsps/shared/dev/i2c/i2c-2b-eeprom.c - bsps/shared/dev/i2c/i2c-ds1621.c - bsps/shared/dev/i2c/i2c-sc620.c |