source: rtems/spec/build/bsps/arm/imx/bspimx.yml @ d7205f0

Last change on this file since d7205f0 was d7205f0, checked in by Sebastian Huber <sebastian.huber@…>, on 04/08/20 at 15:14:41

libc: Optimize malloc() initialization

The BSPs provide memory for the separate C Program Heap initialization
via _Memory_Get(). Most BSPs provide exactly one memory area. Only two
BSPs provide more than one memory area (arm/altera-cyclone-v and
bsps/powerpc/mpc55xxevb). Only if more than one memory area is
provided, there is a need to use _Heap_Extend(). Provide two
implementations to initialize the separate C Program Heap and let the
BSP select one of the implementations based on the number of provided
memory areas. This gets rid of a dependency on _Heap_Extend(). It
also avoids dead code sections for most BSPs.

Change licence to BSD-2-Clause according to file history.

Update #3053.

  • Property mode set to 100644
File size: 3.3 KB
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2arch: arm
3bsp: imx7
4build-type: bsp
5cflags: []
6copyrights:
7- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
8cppflags: []
9enabled-by: true
10family: imx
11includes: []
12install:
13- destination: ${BSP_INCLUDEDIR}
14  source:
15  - bsps/arm/imx/include/bsp.h
16  - bsps/arm/imx/include/tm27.h
17- destination: ${BSP_INCLUDEDIR}/arm/freescale/imx
18  source:
19  - bsps/arm/imx/include/arm/freescale/imx/imx_ccmvar.h
20  - bsps/arm/imx/include/arm/freescale/imx/imx_ecspireg.h
21  - bsps/arm/imx/include/arm/freescale/imx/imx_gpcreg.h
22  - bsps/arm/imx/include/arm/freescale/imx/imx_i2creg.h
23  - bsps/arm/imx/include/arm/freescale/imx/imx_srcreg.h
24  - bsps/arm/imx/include/arm/freescale/imx/imx_uartreg.h
25  - bsps/arm/imx/include/arm/freescale/imx/imx_wdogreg.h
26  - bsps/arm/include/arm/freescale/imx/imx_iomuxreg.h
27  - bsps/arm/include/arm/freescale/imx/imx_iomuxvar.h
28- destination: ${BSP_INCLUDEDIR}/bsp
29  source:
30  - bsps/arm/imx/include/bsp/irq.h
31  - bsps/arm/include/bsp/imx-gpio.h
32  - bsps/arm/include/bsp/imx-iomux.h
33- destination: ${BSP_INCLUDEDIR}/dev/clock
34  source:
35  - bsps/include/dev/clock/arm-generic-timer.h
36- destination: ${BSP_LIBDIR}
37  source:
38  - bsps/arm/imx/start/linkcmds
39  - bsps/arm/imx/start/linkcmds
40links:
41- role: build-dependency
42  uid: ../grp
43- role: build-dependency
44  uid: abi
45- role: build-dependency
46  uid: objsmp
47- role: build-dependency
48  uid: optcachedata
49- role: build-dependency
50  uid: optcacheinst
51- role: build-dependency
52  uid: optccmahb
53- role: build-dependency
54  uid: optcmmecspi
55- role: build-dependency
56  uid: optcmmipg
57- role: build-dependency
58  uid: optcmmsdhci
59- role: build-dependency
60  uid: optcmmuart
61- role: build-dependency
62  uid: optconirq
63- role: build-dependency
64  uid: ../../optfdtcpyro
65- role: build-dependency
66  uid: ../../optfdtmxsz
67- role: build-dependency
68  uid: ../../optfdtro
69- role: build-dependency
70  uid: ../../optfdtuboot
71- role: build-dependency
72  uid: optresetvec
73- role: build-dependency
74  uid: ../start
75- role: build-dependency
76  uid: ../../obj
77- role: build-dependency
78  uid: ../../objirq
79- role: build-dependency
80  uid: ../../opto2
81- role: build-dependency
82  uid: ../../bspopts
83source:
84- bsps/arm/imx/console/console-config.c
85- bsps/arm/imx/i2c/imx-i2c.c
86- bsps/arm/imx/spi/imx-ecspi.c
87- bsps/arm/imx/start/bspreset.c
88- bsps/arm/imx/start/bspstart.c
89- bsps/arm/imx/start/bspstarthooks.c
90- bsps/arm/imx/start/ccm.c
91- bsps/arm/shared/cache/cache-cp15.c
92- bsps/arm/shared/cache/cache-v7ar-disable-data.S
93- bsps/arm/shared/clock/arm-generic-timer-aarch32.c
94- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
95- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
96- bsps/arm/shared/pins/imx-gpio.c
97- bsps/arm/shared/pins/imx_iomux.c
98- bsps/arm/shared/start/bsp-start-memcpy.S
99- bsps/shared/dev/btimer/btimer-stub.c
100- bsps/shared/dev/clock/arm-generic-timer.c
101- bsps/shared/dev/getentropy/getentropy-cpucounter.c
102- bsps/shared/dev/irq/arm-gicv2.c
103- bsps/shared/dev/irq/arm-gicv2-get-attributes.c
104- bsps/shared/dev/serial/console-termios.c
105- bsps/shared/irq/irq-default-handler.c
106- bsps/shared/start/bsp-fdt.c
107- bsps/shared/start/bspfatal-default.c
108- bsps/shared/start/gettargethash-default.c
109- bsps/shared/start/mallocinitone.c
110- bsps/shared/start/sbrk.c
111- bsps/shared/start/stackalloc.c
112- bsps/shared/start/wkspaceinitone.c
113type: build
Note: See TracBrowser for help on using the repository browser.