[PATCH 3/5] build: Use common objects item for get memory

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 29 10:29:24 UTC 2021


---
 spec/build/bsps/aarch64/a53/grp.yml                |  2 ++
 spec/build/bsps/aarch64/a53/obj.yml                |  1 -
 spec/build/bsps/aarch64/a72/grp.yml                |  2 ++
 spec/build/bsps/aarch64/a72/obj.yml                |  1 -
 spec/build/bsps/aarch64/xilinx-versal/grp.yml      |  2 ++
 spec/build/bsps/aarch64/xilinx-versal/obj.yml      |  1 -
 spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml      |  2 ++
 spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml      |  1 -
 spec/build/bsps/arm/atsam/bspatsam.yml             |  3 ++-
 spec/build/bsps/arm/beagle/grp.yml                 |  2 ++
 spec/build/bsps/arm/beagle/obj.yml                 |  1 -
 spec/build/bsps/arm/csb336/bspcsb336.yml           |  3 ++-
 spec/build/bsps/arm/csb337/grp.yml                 |  2 ++
 spec/build/bsps/arm/csb337/obj.yml                 |  1 -
 spec/build/bsps/arm/edb7312/bspedb7312.yml         |  3 ++-
 spec/build/bsps/arm/fvp/grp.yml                    |  2 ++
 spec/build/bsps/arm/fvp/obj.yml                    |  1 -
 spec/build/bsps/arm/gumstix/bspgumstix.yml         |  3 ++-
 spec/build/bsps/arm/imxrt/bspimxrt.yml             |  3 ++-
 spec/build/bsps/arm/lm3s69xx/grp.yml               |  2 ++
 spec/build/bsps/arm/lm3s69xx/obj.yml               |  1 -
 spec/build/bsps/arm/lpc176x/grp.yml                |  2 ++
 spec/build/bsps/arm/lpc176x/obj.yml                |  1 -
 spec/build/bsps/arm/lpc24xx/grp.yml                |  2 ++
 spec/build/bsps/arm/lpc24xx/obj.yml                |  1 -
 spec/build/bsps/arm/lpc32xx/grp.yml                |  2 ++
 spec/build/bsps/arm/lpc32xx/obj.yml                |  1 -
 .../bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml  |  3 ++-
 spec/build/bsps/arm/rtl22xx/grp.yml                |  2 ++
 spec/build/bsps/arm/rtl22xx/obj.yml                |  1 -
 spec/build/bsps/arm/smdk2410/bspsmdk2410.yml       |  3 ++-
 spec/build/bsps/arm/stm32f4/grp.yml                |  2 ++
 spec/build/bsps/arm/stm32f4/obj.yml                |  1 -
 spec/build/bsps/arm/stm32h7/grp.yml                |  2 ++
 spec/build/bsps/arm/stm32h7/obj.yml                |  1 -
 spec/build/bsps/arm/tms570/grp.yml                 |  2 ++
 spec/build/bsps/arm/tms570/obj.yml                 |  1 -
 spec/build/bsps/arm/xen/bspxen.yml                 |  3 ++-
 spec/build/bsps/arm/xilinx-zynq/grp.yml            |  2 ++
 spec/build/bsps/arm/xilinx-zynq/obj.yml            |  1 -
 .../bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml     |  3 ++-
 spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml      |  3 ++-
 spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml  |  3 ++-
 spec/build/bsps/bfin/eZKit533/bspezkit533.yml      |  3 ++-
 spec/build/bsps/lm32/lm32_evr/grp.yml              |  2 ++
 spec/build/bsps/lm32/lm32_evr/obj.yml              |  1 -
 spec/build/bsps/lm32/milkymist/bspmilkymist.yml    |  3 ++-
 spec/build/bsps/m68k/av5282/bspav5282.yml          |  3 ++-
 spec/build/bsps/m68k/csb360/bspcsb360.yml          |  3 ++-
 spec/build/bsps/m68k/gen68340/bspgen68340.yml      |  3 ++-
 spec/build/bsps/m68k/gen68360/grp.yml              |  2 ++
 spec/build/bsps/m68k/gen68360/obj.yml              |  1 -
 spec/build/bsps/m68k/genmcf548x/grp.yml            |  2 ++
 spec/build/bsps/m68k/genmcf548x/obj.yml            |  1 -
 .../bsps/m68k/mcf5206elite/bspmcf5206elite.yml     |  3 ++-
 spec/build/bsps/m68k/mcf52235/bspmcf52235.yml      |  3 ++-
 spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml      |  3 ++-
 spec/build/bsps/m68k/mcf5235/bspmcf5235.yml        |  3 ++-
 spec/build/bsps/m68k/mcf5329/bspmcf5329.yml        |  3 ++-
 spec/build/bsps/m68k/mrm332/bspmrm332.yml          |  3 ++-
 spec/build/bsps/m68k/mvme147/bspmvme147.yml        |  3 ++-
 spec/build/bsps/m68k/mvme147s/bspmvme147s.yml      |  3 ++-
 spec/build/bsps/m68k/mvme162/grp.yml               |  2 ++
 spec/build/bsps/m68k/mvme162/obj.yml               |  1 -
 spec/build/bsps/m68k/mvme167/bspmvme167.yml        |  3 ++-
 spec/build/bsps/m68k/uC5282/bspuc5282.yml          |  3 ++-
 spec/build/bsps/microblaze/microblaze_fpga/grp.yml |  2 ++
 spec/build/bsps/microblaze/microblaze_fpga/obj.yml |  1 -
 spec/build/bsps/mips/csb350/bspcsb350.yml          |  3 ++-
 spec/build/bsps/mips/hurricane/bsphurricane.yml    |  3 ++-
 spec/build/bsps/mips/jmr3904/bspjmr3904.yml        |  3 ++-
 spec/build/bsps/mips/malta/bspmalta.yml            |  3 ++-
 spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml      |  3 ++-
 spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml      |  3 ++-
 spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml     |  3 ++-
 spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml    |  3 ++-
 spec/build/bsps/objmem.yml                         | 14 ++++++++++++++
 .../bsps/or1k/generic_or1k/bspgenericor1k.yml      |  3 ++-
 spec/build/bsps/powerpc/beatnik/bspbeatnik.yml     |  3 ++-
 spec/build/bsps/powerpc/gen5200/grp.yml            |  2 ++
 spec/build/bsps/powerpc/gen5200/obj.yml            |  1 -
 spec/build/bsps/powerpc/gen83xx/grp.yml            |  2 ++
 spec/build/bsps/powerpc/gen83xx/obj.yml            |  1 -
 spec/build/bsps/powerpc/haleakala/bsphaleakala.yml |  3 ++-
 spec/build/bsps/powerpc/motorola_powerpc/grp.yml   |  2 ++
 spec/build/bsps/powerpc/motorola_powerpc/obj.yml   |  1 -
 .../bsps/powerpc/mpc8260ads/bspmpc8260ads.yml      |  3 ++-
 spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml   |  3 ++-
 spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml   |  3 ++-
 spec/build/bsps/powerpc/objmem.yml                 | 14 ++++++++++++++
 spec/build/bsps/powerpc/psim/bsppsim.yml           |  3 ++-
 spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml     |  3 ++-
 spec/build/bsps/powerpc/ss555/bspss555.yml         |  3 ++-
 spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml     |  3 ++-
 spec/build/bsps/powerpc/virtex/bspvirtex.yml       |  3 ++-
 spec/build/bsps/powerpc/virtex4/bspvirtex4.yml     |  3 ++-
 spec/build/bsps/powerpc/virtex5/bspvirtex5.yml     |  3 ++-
 spec/build/bsps/riscv/griscv/grp.yml               |  2 ++
 spec/build/bsps/riscv/griscv/obj.yml               |  1 -
 spec/build/bsps/riscv/riscv/grp.yml                |  2 ++
 spec/build/bsps/riscv/riscv/obj.yml                |  1 -
 spec/build/bsps/sh/gensh1/bspgensh1.yml            |  3 ++-
 spec/build/bsps/sh/gensh2/bspgensh2.yml            |  3 ++-
 spec/build/bsps/sh/gensh4/bspgensh4.yml            |  3 ++-
 spec/build/bsps/sh/shsim/grp.yml                   |  2 ++
 spec/build/bsps/sh/shsim/obj.yml                   |  1 -
 spec/build/bsps/sparc/erc32/bsperc32.yml           |  3 ++-
 spec/build/bsps/sparc/leon2/grp.yml                |  2 ++
 spec/build/bsps/sparc/leon2/obj.yml                |  1 -
 spec/build/bsps/sparc/leon3/grp.yml                |  2 ++
 spec/build/bsps/sparc/leon3/obj.yml                |  1 -
 spec/build/bsps/sparc/objmem.yml                   | 14 ++++++++++++++
 spec/build/bsps/sparc64/niagara/bspniagara.yml     |  3 ++-
 spec/build/bsps/sparc64/usiii/bspusiii.yml         |  3 ++-
 spec/build/bsps/v850/gdbv850sim/grp.yml            |  2 ++
 spec/build/bsps/v850/gdbv850sim/obj.yml            |  1 -
 spec/build/bsps/x86_64/amd64/bspamd64.yml          |  3 ++-
 117 files changed, 210 insertions(+), 84 deletions(-)
 create mode 100644 spec/build/bsps/objmem.yml
 create mode 100644 spec/build/bsps/powerpc/objmem.yml
 create mode 100644 spec/build/bsps/sparc/objmem.yml

diff --git a/spec/build/bsps/aarch64/a53/grp.yml b/spec/build/bsps/aarch64/a53/grp.yml
index 9853c6deb7..98ce7049f6 100644
--- a/spec/build/bsps/aarch64/a53/grp.yml
+++ b/spec/build/bsps/aarch64/a53/grp.yml
@@ -31,6 +31,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
diff --git a/spec/build/bsps/aarch64/a53/obj.yml b/spec/build/bsps/aarch64/a53/obj.yml
index 51d4de8f52..242631fba2 100644
--- a/spec/build/bsps/aarch64/a53/obj.yml
+++ b/spec/build/bsps/aarch64/a53/obj.yml
@@ -31,7 +31,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-arm-psci.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/aarch64/a72/grp.yml b/spec/build/bsps/aarch64/a72/grp.yml
index 7544a47f9f..575acf68bc 100644
--- a/spec/build/bsps/aarch64/a72/grp.yml
+++ b/spec/build/bsps/aarch64/a72/grp.yml
@@ -31,6 +31,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
diff --git a/spec/build/bsps/aarch64/a72/obj.yml b/spec/build/bsps/aarch64/a72/obj.yml
index ad92559644..f797762b41 100644
--- a/spec/build/bsps/aarch64/a72/obj.yml
+++ b/spec/build/bsps/aarch64/a72/obj.yml
@@ -31,7 +31,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-arm-psci.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/aarch64/xilinx-versal/grp.yml b/spec/build/bsps/aarch64/xilinx-versal/grp.yml
index fc2437f1f7..68e350c78d 100644
--- a/spec/build/bsps/aarch64/xilinx-versal/grp.yml
+++ b/spec/build/bsps/aarch64/xilinx-versal/grp.yml
@@ -43,6 +43,8 @@ links:
   uid: ../../objdevspizynq
 - role: build-dependency
   uid: ../../objdevspixil
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
diff --git a/spec/build/bsps/aarch64/xilinx-versal/obj.yml b/spec/build/bsps/aarch64/xilinx-versal/obj.yml
index 0d324490b8..d5748aca9a 100644
--- a/spec/build/bsps/aarch64/xilinx-versal/obj.yml
+++ b/spec/build/bsps/aarch64/xilinx-versal/obj.yml
@@ -38,7 +38,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-arm-psci.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
index 9d4fe505c3..5ff80f3392 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
@@ -47,6 +47,8 @@ links:
   uid: ../../objdevspizynq
 - role: build-dependency
   uid: ../../objdevspixil
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml
index 8a15fe73bf..6fb0631ed9 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml
@@ -34,7 +34,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-arm-psci.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/arm/atsam/bspatsam.yml b/spec/build/bsps/arm/atsam/bspatsam.yml
index 94a2bb32bc..c60646f8d7 100644
--- a/spec/build/bsps/arm/atsam/bspatsam.yml
+++ b/spec/build/bsps/arm/atsam/bspatsam.yml
@@ -317,6 +317,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -403,7 +405,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/beagle/grp.yml b/spec/build/bsps/arm/beagle/grp.yml
index 3452c3e5c8..fdfaed1116 100644
--- a/spec/build/bsps/arm/beagle/grp.yml
+++ b/spec/build/bsps/arm/beagle/grp.yml
@@ -37,6 +37,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/arm/beagle/obj.yml b/spec/build/bsps/arm/beagle/obj.yml
index 5ad859ad8d..36ef28d6f4 100644
--- a/spec/build/bsps/arm/beagle/obj.yml
+++ b/spec/build/bsps/arm/beagle/obj.yml
@@ -59,7 +59,6 @@ source:
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bsp-fdt.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/csb336/bspcsb336.yml b/spec/build/bsps/arm/csb336/bspcsb336.yml
index ac238c81dd..7eb840d22c 100644
--- a/spec/build/bsps/arm/csb336/bspcsb336.yml
+++ b/spec/build/bsps/arm/csb336/bspcsb336.yml
@@ -33,6 +33,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -51,7 +53,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/arm/csb337/grp.yml b/spec/build/bsps/arm/csb337/grp.yml
index b14f74761a..c6f0820e23 100644
--- a/spec/build/bsps/arm/csb337/grp.yml
+++ b/spec/build/bsps/arm/csb337/grp.yml
@@ -43,6 +43,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/arm/csb337/obj.yml b/spec/build/bsps/arm/csb337/obj.yml
index 0c4bbfa51a..06d0657bc2 100644
--- a/spec/build/bsps/arm/csb337/obj.yml
+++ b/spec/build/bsps/arm/csb337/obj.yml
@@ -52,7 +52,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/arm/edb7312/bspedb7312.yml b/spec/build/bsps/arm/edb7312/bspedb7312.yml
index 7587cc9eaa..36ff82ece7 100644
--- a/spec/build/bsps/arm/edb7312/bspedb7312.yml
+++ b/spec/build/bsps/arm/edb7312/bspedb7312.yml
@@ -34,6 +34,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -55,7 +57,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/arm/fvp/grp.yml b/spec/build/bsps/arm/fvp/grp.yml
index 3759f5e10c..2fffbe7268 100644
--- a/spec/build/bsps/arm/fvp/grp.yml
+++ b/spec/build/bsps/arm/fvp/grp.yml
@@ -21,6 +21,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../optgicspicount
 - role: build-dependency
diff --git a/spec/build/bsps/arm/fvp/obj.yml b/spec/build/bsps/arm/fvp/obj.yml
index 9e5582ce85..3db46c6ccc 100644
--- a/spec/build/bsps/arm/fvp/obj.yml
+++ b/spec/build/bsps/arm/fvp/obj.yml
@@ -38,7 +38,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/gumstix/bspgumstix.yml b/spec/build/bsps/arm/gumstix/bspgumstix.yml
index 4d0c380860..845780c5ba 100644
--- a/spec/build/bsps/arm/gumstix/bspgumstix.yml
+++ b/spec/build/bsps/arm/gumstix/bspgumstix.yml
@@ -35,6 +35,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -59,7 +61,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/arm/imxrt/bspimxrt.yml b/spec/build/bsps/arm/imxrt/bspimxrt.yml
index 30d690e0e2..8f78369d3c 100644
--- a/spec/build/bsps/arm/imxrt/bspimxrt.yml
+++ b/spec/build/bsps/arm/imxrt/bspimxrt.yml
@@ -156,6 +156,8 @@ links:
   uid: ../../objirq
 - role: build-dependency
   uid: ../../objdevfsledma
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -261,7 +263,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/lm3s69xx/grp.yml b/spec/build/bsps/arm/lm3s69xx/grp.yml
index 2ab26fe919..d1082f3adc 100644
--- a/spec/build/bsps/arm/lm3s69xx/grp.yml
+++ b/spec/build/bsps/arm/lm3s69xx/grp.yml
@@ -49,6 +49,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/obj.yml b/spec/build/bsps/arm/lm3s69xx/obj.yml
index d056b930e4..79ecd0fcda 100644
--- a/spec/build/bsps/arm/lm3s69xx/obj.yml
+++ b/spec/build/bsps/arm/lm3s69xx/obj.yml
@@ -49,7 +49,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/lpc176x/grp.yml b/spec/build/bsps/arm/lpc176x/grp.yml
index fba2a13cd8..0be0978531 100644
--- a/spec/build/bsps/arm/lpc176x/grp.yml
+++ b/spec/build/bsps/arm/lpc176x/grp.yml
@@ -45,6 +45,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/arm/lpc176x/obj.yml b/spec/build/bsps/arm/lpc176x/obj.yml
index e44360495d..2e6454d62b 100644
--- a/spec/build/bsps/arm/lpc176x/obj.yml
+++ b/spec/build/bsps/arm/lpc176x/obj.yml
@@ -74,7 +74,6 @@ source:
 - bsps/shared/dev/serial/uart-output-char.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/lpc24xx/grp.yml b/spec/build/bsps/arm/lpc24xx/grp.yml
index 8f10392b4a..571f6cfb6a 100644
--- a/spec/build/bsps/arm/lpc24xx/grp.yml
+++ b/spec/build/bsps/arm/lpc24xx/grp.yml
@@ -75,6 +75,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/arm/lpc24xx/obj.yml b/spec/build/bsps/arm/lpc24xx/obj.yml
index 3ad44ba1ba..a7c9472a43 100644
--- a/spec/build/bsps/arm/lpc24xx/obj.yml
+++ b/spec/build/bsps/arm/lpc24xx/obj.yml
@@ -84,7 +84,6 @@ source:
 - bsps/shared/dev/serial/uart-output-char.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/lpc32xx/grp.yml b/spec/build/bsps/arm/lpc32xx/grp.yml
index 08355974d4..a4136c177d 100644
--- a/spec/build/bsps/arm/lpc32xx/grp.yml
+++ b/spec/build/bsps/arm/lpc32xx/grp.yml
@@ -75,6 +75,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/arm/lpc32xx/obj.yml b/spec/build/bsps/arm/lpc32xx/obj.yml
index cafff20766..28c926038f 100644
--- a/spec/build/bsps/arm/lpc32xx/obj.yml
+++ b/spec/build/bsps/arm/lpc32xx/obj.yml
@@ -63,7 +63,6 @@ source:
 - bsps/shared/dev/serial/uart-output-char.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml b/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
index df86f8029d..46f0236bf9 100644
--- a/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
+++ b/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
@@ -50,6 +50,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto0
 - role: build-dependency
@@ -78,7 +80,6 @@ source:
 - bsps/shared/dev/serial/getserialmouseps2.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/rtl22xx/grp.yml b/spec/build/bsps/arm/rtl22xx/grp.yml
index 6df3205f17..55348badb0 100644
--- a/spec/build/bsps/arm/rtl22xx/grp.yml
+++ b/spec/build/bsps/arm/rtl22xx/grp.yml
@@ -21,6 +21,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/arm/rtl22xx/obj.yml b/spec/build/bsps/arm/rtl22xx/obj.yml
index 29b6833ede..f6bc6fe493 100644
--- a/spec/build/bsps/arm/rtl22xx/obj.yml
+++ b/spec/build/bsps/arm/rtl22xx/obj.yml
@@ -36,7 +36,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml b/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml
index b17d9e34db..b2d8b088b0 100644
--- a/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml
+++ b/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml
@@ -39,6 +39,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -64,7 +66,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/arm/stm32f4/grp.yml b/spec/build/bsps/arm/stm32f4/grp.yml
index ad08ee63c1..710e4679a9 100644
--- a/spec/build/bsps/arm/stm32f4/grp.yml
+++ b/spec/build/bsps/arm/stm32f4/grp.yml
@@ -53,6 +53,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/arm/stm32f4/obj.yml b/spec/build/bsps/arm/stm32f4/obj.yml
index 803072e7f8..7c5427719e 100644
--- a/spec/build/bsps/arm/stm32f4/obj.yml
+++ b/spec/build/bsps/arm/stm32f4/obj.yml
@@ -64,7 +64,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/stm32h7/grp.yml b/spec/build/bsps/arm/stm32h7/grp.yml
index f6728999bd..5e26a3e072 100644
--- a/spec/build/bsps/arm/stm32h7/grp.yml
+++ b/spec/build/bsps/arm/stm32h7/grp.yml
@@ -17,6 +17,8 @@ links:
   uid: abi
 - role: build-dependency
   uid: obj
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: optenmpualign
 - role: build-dependency
diff --git a/spec/build/bsps/arm/stm32h7/obj.yml b/spec/build/bsps/arm/stm32h7/obj.yml
index 30f2c06ba3..f3c73fde51 100644
--- a/spec/build/bsps/arm/stm32h7/obj.yml
+++ b/spec/build/bsps/arm/stm32h7/obj.yml
@@ -338,7 +338,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/tms570/grp.yml b/spec/build/bsps/arm/tms570/grp.yml
index f7b84e2f57..0529523203 100644
--- a/spec/build/bsps/arm/tms570/grp.yml
+++ b/spec/build/bsps/arm/tms570/grp.yml
@@ -41,6 +41,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/arm/tms570/obj.yml b/spec/build/bsps/arm/tms570/obj.yml
index 36f99a700e..b03e6aa9a2 100644
--- a/spec/build/bsps/arm/tms570/obj.yml
+++ b/spec/build/bsps/arm/tms570/obj.yml
@@ -94,7 +94,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/xen/bspxen.yml b/spec/build/bsps/arm/xen/bspxen.yml
index 0de27abf26..5917512003 100644
--- a/spec/build/bsps/arm/xen/bspxen.yml
+++ b/spec/build/bsps/arm/xen/bspxen.yml
@@ -47,6 +47,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../optcachedata
 - role: build-dependency
@@ -76,7 +78,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/arm/xilinx-zynq/grp.yml b/spec/build/bsps/arm/xilinx-zynq/grp.yml
index 55eab20f84..9b7254a09a 100644
--- a/spec/build/bsps/arm/xilinx-zynq/grp.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/grp.yml
@@ -61,6 +61,8 @@ links:
   uid: ../../objdevspizynq
 - role: build-dependency
   uid: ../../objdevspixil
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: linkcmds
 - role: build-dependency
diff --git a/spec/build/bsps/arm/xilinx-zynq/obj.yml b/spec/build/bsps/arm/xilinx-zynq/obj.yml
index f896b5a064..bc675cd38c 100644
--- a/spec/build/bsps/arm/xilinx-zynq/obj.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/obj.yml
@@ -40,7 +40,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
index 0d336cc6cf..baa9ee34c0 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
@@ -73,6 +73,8 @@ links:
   uid: ../../objdevspizynq
 - role: build-dependency
   uid: ../../objdevspixil
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -98,7 +100,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/stackalloc.c
diff --git a/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml b/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml
index 3c994d0f93..9d6546c324 100644
--- a/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml
+++ b/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml
@@ -44,6 +44,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -55,7 +57,6 @@ source:
 - bsps/bfin/shared/cache/cache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml b/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml
index 91b451dc8b..8edce12154 100644
--- a/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml
+++ b/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml
@@ -37,6 +37,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -48,7 +50,6 @@ source:
 - bsps/bfin/shared/interrupt.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/bfin/eZKit533/bspezkit533.yml b/spec/build/bsps/bfin/eZKit533/bspezkit533.yml
index 34d578a76f..aff9979039 100644
--- a/spec/build/bsps/bfin/eZKit533/bspezkit533.yml
+++ b/spec/build/bsps/bfin/eZKit533/bspezkit533.yml
@@ -38,6 +38,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -49,7 +51,6 @@ source:
 - bsps/bfin/shared/interrupt.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/lm32/lm32_evr/grp.yml b/spec/build/bsps/lm32/lm32_evr/grp.yml
index f6d4762dae..bf991d4b86 100644
--- a/spec/build/bsps/lm32/lm32_evr/grp.yml
+++ b/spec/build/bsps/lm32/lm32_evr/grp.yml
@@ -21,6 +21,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/lm32/lm32_evr/obj.yml b/spec/build/bsps/lm32/lm32_evr/obj.yml
index 85c6ba670b..ba666c8cd8 100644
--- a/spec/build/bsps/lm32/lm32_evr/obj.yml
+++ b/spec/build/bsps/lm32/lm32_evr/obj.yml
@@ -27,7 +27,6 @@ source:
 - bsps/shared/cache/nocache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/setvec.c
diff --git a/spec/build/bsps/lm32/milkymist/bspmilkymist.yml b/spec/build/bsps/lm32/milkymist/bspmilkymist.yml
index 2157d3a73c..44380f2e27 100644
--- a/spec/build/bsps/lm32/milkymist/bspmilkymist.yml
+++ b/spec/build/bsps/lm32/milkymist/bspmilkymist.yml
@@ -31,6 +31,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -59,7 +61,6 @@ source:
 - bsps/lm32/shared/start/bspstart.c
 - bsps/shared/cache/nocache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/av5282/bspav5282.yml b/spec/build/bsps/m68k/av5282/bspav5282.yml
index f90dc006d0..30d8970140 100644
--- a/spec/build/bsps/m68k/av5282/bspav5282.yml
+++ b/spec/build/bsps/m68k/av5282/bspav5282.yml
@@ -31,6 +31,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -46,7 +48,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/csb360/bspcsb360.yml b/spec/build/bsps/m68k/csb360/bspcsb360.yml
index 04e77b9677..16b1b9a2a4 100644
--- a/spec/build/bsps/m68k/csb360/bspcsb360.yml
+++ b/spec/build/bsps/m68k/csb360/bspcsb360.yml
@@ -31,6 +31,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -47,7 +49,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/gen68340/bspgen68340.yml b/spec/build/bsps/m68k/gen68340/bspgen68340.yml
index b27fc3466b..91238a91ca 100644
--- a/spec/build/bsps/m68k/gen68340/bspgen68340.yml
+++ b/spec/build/bsps/m68k/gen68340/bspgen68340.yml
@@ -36,6 +36,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -53,7 +55,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/gen68360/grp.yml b/spec/build/bsps/m68k/gen68360/grp.yml
index dfde1a6e78..037c1c452f 100644
--- a/spec/build/bsps/m68k/gen68360/grp.yml
+++ b/spec/build/bsps/m68k/gen68360/grp.yml
@@ -27,6 +27,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/m68k/gen68360/obj.yml b/spec/build/bsps/m68k/gen68360/obj.yml
index 3249827daa..f7228baa59 100644
--- a/spec/build/bsps/m68k/gen68360/obj.yml
+++ b/spec/build/bsps/m68k/gen68360/obj.yml
@@ -33,7 +33,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/genmcf548x/grp.yml b/spec/build/bsps/m68k/genmcf548x/grp.yml
index 57bdb23566..5409682cd6 100644
--- a/spec/build/bsps/m68k/genmcf548x/grp.yml
+++ b/spec/build/bsps/m68k/genmcf548x/grp.yml
@@ -29,6 +29,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../optconsolebaud
 - role: build-dependency
diff --git a/spec/build/bsps/m68k/genmcf548x/obj.yml b/spec/build/bsps/m68k/genmcf548x/obj.yml
index e65e0c8934..815f015999 100644
--- a/spec/build/bsps/m68k/genmcf548x/obj.yml
+++ b/spec/build/bsps/m68k/genmcf548x/obj.yml
@@ -40,7 +40,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml b/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml
index 576659d511..7926c5735e 100644
--- a/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml
+++ b/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml
@@ -39,6 +39,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -63,7 +65,6 @@ source:
 - bsps/shared/dev/rtc/rtc-support.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml b/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml
index e83626fc10..09c9ab3d75 100644
--- a/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml
+++ b/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml
@@ -33,6 +33,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -50,7 +52,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml b/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml
index 08369d657d..2f9212f4c3 100644
--- a/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml
+++ b/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml
@@ -33,6 +33,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -49,7 +51,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml b/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml
index 428e505961..715363d869 100644
--- a/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml
+++ b/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml
@@ -34,6 +34,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -51,7 +53,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml b/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml
index c7fe0c29b9..de1ebc050d 100644
--- a/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml
+++ b/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml
@@ -32,6 +32,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -48,7 +50,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mrm332/bspmrm332.yml b/spec/build/bsps/m68k/mrm332/bspmrm332.yml
index 8e28beb1fb..a83fd07d6f 100644
--- a/spec/build/bsps/m68k/mrm332/bspmrm332.yml
+++ b/spec/build/bsps/m68k/mrm332/bspmrm332.yml
@@ -34,6 +34,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../optos
 - role: build-dependency
@@ -51,7 +53,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/m68k/mvme147/bspmvme147.yml b/spec/build/bsps/m68k/mvme147/bspmvme147.yml
index 70632bc46c..73f8608f49 100644
--- a/spec/build/bsps/m68k/mvme147/bspmvme147.yml
+++ b/spec/build/bsps/m68k/mvme147/bspmvme147.yml
@@ -32,6 +32,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -48,7 +50,6 @@ source:
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml b/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml
index f3341429d5..8585374b83 100644
--- a/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml
+++ b/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml
@@ -34,6 +34,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -50,7 +52,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mvme162/grp.yml b/spec/build/bsps/m68k/mvme162/grp.yml
index 0325c5b6a6..74bf1df093 100644
--- a/spec/build/bsps/m68k/mvme162/grp.yml
+++ b/spec/build/bsps/m68k/mvme162/grp.yml
@@ -21,6 +21,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/m68k/mvme162/obj.yml b/spec/build/bsps/m68k/mvme162/obj.yml
index 1103ac13be..4745160766 100644
--- a/spec/build/bsps/m68k/mvme162/obj.yml
+++ b/spec/build/bsps/m68k/mvme162/obj.yml
@@ -34,7 +34,6 @@ source:
 - bsps/m68k/shared/m68kidle.c
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/mvme167/bspmvme167.yml b/spec/build/bsps/m68k/mvme167/bspmvme167.yml
index 5c3638ed96..db9f7e4998 100644
--- a/spec/build/bsps/m68k/mvme167/bspmvme167.yml
+++ b/spec/build/bsps/m68k/mvme167/bspmvme167.yml
@@ -47,6 +47,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -63,7 +65,6 @@ source:
 - bsps/m68k/shared/m68kidle.c
 - bsps/m68k/shared/memProbe.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/m68k/uC5282/bspuc5282.yml b/spec/build/bsps/m68k/uC5282/bspuc5282.yml
index 47ddef3c84..07167ff381 100644
--- a/spec/build/bsps/m68k/uC5282/bspuc5282.yml
+++ b/spec/build/bsps/m68k/uC5282/bspuc5282.yml
@@ -31,6 +31,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -47,7 +49,6 @@ source:
 - bsps/m68k/uC5282/start/bspstart.c
 - bsps/m68k/uC5282/start/init5282.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 - bsps/shared/start/setvec.c
diff --git a/spec/build/bsps/microblaze/microblaze_fpga/grp.yml b/spec/build/bsps/microblaze/microblaze_fpga/grp.yml
index 38cd3e1a83..991ab04a23 100644
--- a/spec/build/bsps/microblaze/microblaze_fpga/grp.yml
+++ b/spec/build/bsps/microblaze/microblaze_fpga/grp.yml
@@ -29,6 +29,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/microblaze/microblaze_fpga/obj.yml b/spec/build/bsps/microblaze/microblaze_fpga/obj.yml
index beebbf9d20..a211456e1d 100644
--- a/spec/build/bsps/microblaze/microblaze_fpga/obj.yml
+++ b/spec/build/bsps/microblaze/microblaze_fpga/obj.yml
@@ -41,7 +41,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/mips/csb350/bspcsb350.yml b/spec/build/bsps/mips/csb350/bspcsb350.yml
index 276433ce16..0850a2dec9 100644
--- a/spec/build/bsps/mips/csb350/bspcsb350.yml
+++ b/spec/build/bsps/mips/csb350/bspcsb350.yml
@@ -31,6 +31,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -51,7 +53,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/mips/hurricane/bsphurricane.yml b/spec/build/bsps/mips/hurricane/bsphurricane.yml
index 4ed5526e15..f4c89c649f 100644
--- a/spec/build/bsps/mips/hurricane/bsphurricane.yml
+++ b/spec/build/bsps/mips/hurricane/bsphurricane.yml
@@ -36,6 +36,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -64,7 +66,6 @@ source:
 - bsps/shared/cache/nocache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/mips/jmr3904/bspjmr3904.yml b/spec/build/bsps/mips/jmr3904/bspjmr3904.yml
index 07547a309f..cc4c797ea1 100644
--- a/spec/build/bsps/mips/jmr3904/bspjmr3904.yml
+++ b/spec/build/bsps/mips/jmr3904/bspjmr3904.yml
@@ -33,6 +33,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -52,7 +54,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/mips/malta/bspmalta.yml b/spec/build/bsps/mips/malta/bspmalta.yml
index 8ff0b7e1a6..a3651cb00a 100644
--- a/spec/build/bsps/mips/malta/bspmalta.yml
+++ b/spec/build/bsps/mips/malta/bspmalta.yml
@@ -32,6 +32,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto0
 - role: build-dependency
@@ -62,7 +64,6 @@ source:
 - bsps/shared/dev/serial/legacy-console-select.c
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml b/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml
index b727fa7ca3..cd0f6ee583 100644
--- a/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml
+++ b/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml
@@ -33,6 +33,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -60,7 +62,6 @@ source:
 - bsps/shared/cache/nocache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml b/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml
index 92572fd815..63c4e054f0 100644
--- a/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml
+++ b/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml
@@ -31,6 +31,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -58,7 +60,6 @@ source:
 - bsps/shared/cache/nocache.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml b/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml
index 365c3f8dfc..0564995537 100644
--- a/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml
+++ b/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml
@@ -29,6 +29,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../optos
 - role: build-dependency
@@ -46,7 +48,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml b/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml
index 5db9b8eeef..a353570dd5 100644
--- a/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml
+++ b/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml
@@ -29,6 +29,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto0
 - role: build-dependency
@@ -43,7 +45,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/objmem.yml b/spec/build/bsps/objmem.yml
new file mode 100644
index 0000000000..af4d3051ba
--- /dev/null
+++ b/spec/build/bsps/objmem.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/shared/start/bspgetworkarea-default.c
+type: build
diff --git a/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml b/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml
index 0b2314c8ed..67fa2d5902 100644
--- a/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml
+++ b/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml
@@ -28,6 +28,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto0
 - role: build-dependency
@@ -58,7 +60,6 @@ source:
 - bsps/shared/dev/serial/legacy-console-select.c
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml b/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
index df58b6d5da..cd204ebd94 100644
--- a/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
+++ b/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
@@ -53,6 +53,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../objmem
 - role: build-dependency
   uid: ../objvme
 - role: build-dependency
@@ -92,7 +94,6 @@ source:
 - bsps/powerpc/shared/mmu/pte121.c
 - bsps/powerpc/shared/pci/pci.c
 - bsps/powerpc/shared/pci/pcifinddevice.c
-- bsps/powerpc/shared/start/bspgetworkarea.c
 - bsps/powerpc/shared/start/pgtbl_activate.c
 - bsps/powerpc/shared/start/pgtbl_setup.c
 - bsps/powerpc/shared/start/probeMemEnd.c
diff --git a/spec/build/bsps/powerpc/gen5200/grp.yml b/spec/build/bsps/powerpc/gen5200/grp.yml
index fc8bbef2a0..b53a79ec42 100644
--- a/spec/build/bsps/powerpc/gen5200/grp.yml
+++ b/spec/build/bsps/powerpc/gen5200/grp.yml
@@ -55,6 +55,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/powerpc/gen5200/obj.yml b/spec/build/bsps/powerpc/gen5200/obj.yml
index 62ef3041fc..15aa46c7b9 100644
--- a/spec/build/bsps/powerpc/gen5200/obj.yml
+++ b/spec/build/bsps/powerpc/gen5200/obj.yml
@@ -112,7 +112,6 @@ source:
 - bsps/shared/dev/rtc/rtc-support.c
 - bsps/shared/start/bsp-uboot-board-info.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/grp.yml b/spec/build/bsps/powerpc/gen83xx/grp.yml
index eae0c955e7..ef7fd17d34 100644
--- a/spec/build/bsps/powerpc/gen83xx/grp.yml
+++ b/spec/build/bsps/powerpc/gen83xx/grp.yml
@@ -57,6 +57,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/obj.yml b/spec/build/bsps/powerpc/gen83xx/obj.yml
index 2ed9bda066..4fa855da28 100644
--- a/spec/build/bsps/powerpc/gen83xx/obj.yml
+++ b/spec/build/bsps/powerpc/gen83xx/obj.yml
@@ -56,7 +56,6 @@ source:
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bsp-uboot-board-info.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml b/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
index b45da019b2..18ff252cb9 100644
--- a/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
+++ b/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
@@ -48,6 +48,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 source:
@@ -64,7 +66,6 @@ source:
 - bsps/powerpc/shared/irq/ppc-irq-legacy.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/grp.yml b/spec/build/bsps/powerpc/motorola_powerpc/grp.yml
index 5e84daec1f..0d0cddba1f 100644
--- a/spec/build/bsps/powerpc/motorola_powerpc/grp.yml
+++ b/spec/build/bsps/powerpc/motorola_powerpc/grp.yml
@@ -41,6 +41,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../objmem
 - role: build-dependency
   uid: ../objvme
 - role: build-dependency
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/obj.yml b/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
index d81ded31b8..e490e14c7c 100644
--- a/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
+++ b/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
@@ -50,7 +50,6 @@ source:
 - bsps/powerpc/shared/pci/pci.c
 - bsps/powerpc/shared/pci/pcifinddevice.c
 - bsps/powerpc/shared/rtc/todcfg.c
-- bsps/powerpc/shared/start/bspgetworkarea.c
 - bsps/powerpc/shared/start/pgtbl_activate.c
 - bsps/powerpc/shared/start/pgtbl_setup.c
 - bsps/powerpc/shared/start/ppc_idle.c
diff --git a/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml b/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml
index ec277cda68..602556f7f8 100644
--- a/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml
+++ b/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml
@@ -51,6 +51,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../bspopts
 source:
@@ -70,7 +72,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml b/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
index 66fe09aa5c..18c373b80c 100644
--- a/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
+++ b/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
@@ -49,6 +49,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../objmem
 - role: build-dependency
   uid: ../objvme
 - role: build-dependency
@@ -79,7 +81,6 @@ source:
 - bsps/powerpc/shared/pci/generic_clear_hberrs.c
 - bsps/powerpc/shared/pci/pci.c
 - bsps/powerpc/shared/pci/pcifinddevice.c
-- bsps/powerpc/shared/start/bspgetworkarea.c
 - bsps/powerpc/shared/start/sbrk.c
 - bsps/powerpc/shared/start/vpd.c
 - bsps/powerpc/shared/start/zerobss.c
diff --git a/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml b/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
index bac1cf1632..0c7aa74e85 100644
--- a/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
+++ b/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
@@ -57,6 +57,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../objmem
 - role: build-dependency
   uid: ../objvme
 - role: build-dependency
@@ -87,7 +89,6 @@ source:
 - bsps/powerpc/shared/mmu/bat.c
 - bsps/powerpc/shared/mmu/mmuAsm.S
 - bsps/powerpc/shared/mmu/pte121.c
-- bsps/powerpc/shared/start/bspgetworkarea.c
 - bsps/powerpc/shared/start/pgtbl_setup.c
 - bsps/powerpc/shared/start/probeMemEnd.c
 - bsps/powerpc/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/objmem.yml b/spec/build/bsps/powerpc/objmem.yml
new file mode 100644
index 0000000000..9e5ae758ad
--- /dev/null
+++ b/spec/build/bsps/powerpc/objmem.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/powerpc/shared/start/bspgetworkarea.c
+type: build
diff --git a/spec/build/bsps/powerpc/psim/bsppsim.yml b/spec/build/bsps/powerpc/psim/bsppsim.yml
index b71b847cd0..c42590f0a1 100644
--- a/spec/build/bsps/powerpc/psim/bsppsim.yml
+++ b/spec/build/bsps/powerpc/psim/bsppsim.yml
@@ -43,6 +43,8 @@ links:
   uid: abi
 - role: build-dependency
   uid: objmpci
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: optclkfastidle
 - role: build-dependency
@@ -78,7 +80,6 @@ source:
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 type: build
diff --git a/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml b/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml
index 14752bf2de..a1b52c9569 100644
--- a/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml
+++ b/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml
@@ -38,6 +38,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: abi
 - role: build-dependency
@@ -59,7 +61,6 @@ source:
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/ss555/bspss555.yml b/spec/build/bsps/powerpc/ss555/bspss555.yml
index bc367a64ea..8a6ed520ff 100644
--- a/spec/build/bsps/powerpc/ss555/bspss555.yml
+++ b/spec/build/bsps/powerpc/ss555/bspss555.yml
@@ -33,6 +33,8 @@ links:
   uid: ../grp
 - role: build-dependency
   uid: ../obj
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: abi
 - role: build-dependency
@@ -82,7 +84,6 @@ source:
 - bsps/shared/irq/irq-server.c
 - bsps/shared/irq/irq-shell.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml b/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml
index 39970b6f9e..dc384e7167 100644
--- a/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml
+++ b/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml
@@ -42,6 +42,8 @@ links:
   uid: abi
 - role: build-dependency
   uid: objsmp
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: optexcbooke
 - role: build-dependency
@@ -65,7 +67,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
 type: build
diff --git a/spec/build/bsps/powerpc/virtex/bspvirtex.yml b/spec/build/bsps/powerpc/virtex/bspvirtex.yml
index cfcc298565..16aadab4be 100644
--- a/spec/build/bsps/powerpc/virtex/bspvirtex.yml
+++ b/spec/build/bsps/powerpc/virtex/bspvirtex.yml
@@ -40,6 +40,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: abi
 - role: build-dependency
@@ -78,7 +80,6 @@ source:
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml b/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml
index 9f8b567a79..9a4692062b 100644
--- a/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml
+++ b/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml
@@ -38,6 +38,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: abi
 - role: build-dependency
@@ -64,7 +66,6 @@ source:
 - bsps/powerpc/virtex4/start/start.S
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml b/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml
index a0a2314325..69ccb36f02 100644
--- a/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml
+++ b/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml
@@ -38,6 +38,8 @@ links:
   uid: ../obj
 - role: build-dependency
   uid: ../objexc
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: abi
 - role: build-dependency
@@ -65,7 +67,6 @@ source:
 - bsps/powerpc/virtex5/start/start.S
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/riscv/griscv/grp.yml b/spec/build/bsps/riscv/griscv/grp.yml
index 1945d984f5..4fbfc1a260 100644
--- a/spec/build/bsps/riscv/griscv/grp.yml
+++ b/spec/build/bsps/riscv/griscv/grp.yml
@@ -25,6 +25,8 @@ links:
   uid: obj
 - role: build-dependency
   uid: objsmp
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: optextirqmax
 - role: build-dependency
diff --git a/spec/build/bsps/riscv/griscv/obj.yml b/spec/build/bsps/riscv/griscv/obj.yml
index 5ecb0ed6a5..cb68f87c36 100644
--- a/spec/build/bsps/riscv/griscv/obj.yml
+++ b/spec/build/bsps/riscv/griscv/obj.yml
@@ -31,7 +31,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 type: build
diff --git a/spec/build/bsps/riscv/riscv/grp.yml b/spec/build/bsps/riscv/riscv/grp.yml
index 77583d351e..e61ed2452c 100644
--- a/spec/build/bsps/riscv/riscv/grp.yml
+++ b/spec/build/bsps/riscv/riscv/grp.yml
@@ -29,6 +29,8 @@ links:
   uid: obj
 - role: build-dependency
   uid: objsmp
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: optextirqmax
 - role: build-dependency
diff --git a/spec/build/bsps/riscv/riscv/obj.yml b/spec/build/bsps/riscv/riscv/obj.yml
index 2f1ac8051c..5e767be1bb 100644
--- a/spec/build/bsps/riscv/riscv/obj.yml
+++ b/spec/build/bsps/riscv/riscv/obj.yml
@@ -36,7 +36,6 @@ source:
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bsp-fdt.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 type: build
diff --git a/spec/build/bsps/sh/gensh1/bspgensh1.yml b/spec/build/bsps/sh/gensh1/bspgensh1.yml
index 9b4305a058..321ec199d6 100644
--- a/spec/build/bsps/sh/gensh1/bspgensh1.yml
+++ b/spec/build/bsps/sh/gensh1/bspgensh1.yml
@@ -34,6 +34,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -63,7 +65,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-loop.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/sh/gensh2/bspgensh2.yml b/spec/build/bsps/sh/gensh2/bspgensh2.yml
index 74fa7e22d5..7135344a73 100644
--- a/spec/build/bsps/sh/gensh2/bspgensh2.yml
+++ b/spec/build/bsps/sh/gensh2/bspgensh2.yml
@@ -38,6 +38,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -71,7 +73,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/sh/gensh4/bspgensh4.yml b/spec/build/bsps/sh/gensh4/bspgensh4.yml
index c29e4c4168..0ef08312ed 100644
--- a/spec/build/bsps/sh/gensh4/bspgensh4.yml
+++ b/spec/build/bsps/sh/gensh4/bspgensh4.yml
@@ -38,6 +38,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -66,7 +68,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/printk-dummy.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/sh/shsim/grp.yml b/spec/build/bsps/sh/shsim/grp.yml
index 9c73c7ca0f..8503c3a425 100644
--- a/spec/build/bsps/sh/shsim/grp.yml
+++ b/spec/build/bsps/sh/shsim/grp.yml
@@ -15,6 +15,8 @@ links:
   uid: abi
 - role: build-dependency
   uid: obj
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: optcpuclk
 - role: build-dependency
diff --git a/spec/build/bsps/sh/shsim/obj.yml b/spec/build/bsps/sh/shsim/obj.yml
index 7b0d48ef52..16fd97c7ea 100644
--- a/spec/build/bsps/sh/shsim/obj.yml
+++ b/spec/build/bsps/sh/shsim/obj.yml
@@ -35,7 +35,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/sparc/erc32/bsperc32.yml b/spec/build/bsps/sparc/erc32/bsperc32.yml
index 455aec13f6..e028a803ed 100644
--- a/spec/build/bsps/sparc/erc32/bsperc32.yml
+++ b/spec/build/bsps/sparc/erc32/bsperc32.yml
@@ -27,6 +27,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -70,5 +72,4 @@ source:
 - bsps/sparc/shared/irq/irq-shared.c
 - bsps/sparc/shared/start/bsp_fatal_exit.c
 - bsps/sparc/shared/start/bsp_fatal_halt.c
-- bsps/sparc/shared/start/bspgetworkarea.c
 type: build
diff --git a/spec/build/bsps/sparc/leon2/grp.yml b/spec/build/bsps/sparc/leon2/grp.yml
index c640d01a05..cc0f23e39b 100644
--- a/spec/build/bsps/sparc/leon2/grp.yml
+++ b/spec/build/bsps/sparc/leon2/grp.yml
@@ -15,6 +15,8 @@ links:
   uid: ../../objgrlib
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../objmem
 - role: build-dependency
   uid: ../grp
 - role: build-dependency
diff --git a/spec/build/bsps/sparc/leon2/obj.yml b/spec/build/bsps/sparc/leon2/obj.yml
index f1a5e52e82..dc036ec122 100644
--- a/spec/build/bsps/sparc/leon2/obj.yml
+++ b/spec/build/bsps/sparc/leon2/obj.yml
@@ -48,5 +48,4 @@ source:
 - bsps/sparc/shared/irq/irq-shared.c
 - bsps/sparc/shared/start/bsp_fatal_exit.c
 - bsps/sparc/shared/start/bsp_fatal_halt.c
-- bsps/sparc/shared/start/bspgetworkarea.c
 type: build
diff --git a/spec/build/bsps/sparc/leon3/grp.yml b/spec/build/bsps/sparc/leon3/grp.yml
index 670fada8b9..2bb3876620 100644
--- a/spec/build/bsps/sparc/leon3/grp.yml
+++ b/spec/build/bsps/sparc/leon3/grp.yml
@@ -15,6 +15,8 @@ links:
   uid: ../../objgrlib
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../objmem
 - role: build-dependency
   uid: ../grp
 - role: build-dependency
diff --git a/spec/build/bsps/sparc/leon3/obj.yml b/spec/build/bsps/sparc/leon3/obj.yml
index 19ce633a2a..69684ca3a5 100644
--- a/spec/build/bsps/sparc/leon3/obj.yml
+++ b/spec/build/bsps/sparc/leon3/obj.yml
@@ -59,5 +59,4 @@ source:
 - bsps/sparc/shared/pci/pci_memreg_sparc_be.c
 - bsps/sparc/shared/pci/pci_memreg_sparc_le.c
 - bsps/sparc/shared/start/bsp_fatal_exit.c
-- bsps/sparc/shared/start/bspgetworkarea.c
 type: build
diff --git a/spec/build/bsps/sparc/objmem.yml b/spec/build/bsps/sparc/objmem.yml
new file mode 100644
index 0000000000..8ca61bf4b6
--- /dev/null
+++ b/spec/build/bsps/sparc/objmem.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/sparc/shared/start/bspgetworkarea.c
+type: build
diff --git a/spec/build/bsps/sparc64/niagara/bspniagara.yml b/spec/build/bsps/sparc64/niagara/bspniagara.yml
index 3f60a842f8..f9d55b50d4 100644
--- a/spec/build/bsps/sparc64/niagara/bspniagara.yml
+++ b/spec/build/bsps/sparc64/niagara/bspniagara.yml
@@ -26,6 +26,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -43,7 +45,6 @@ source:
 - bsps/shared/dev/serial/legacy-console-control.c
 - bsps/shared/dev/serial/legacy-console-select.c
 - bsps/shared/dev/serial/legacy-console.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/sparc64/usiii/bspusiii.yml b/spec/build/bsps/sparc64/usiii/bspusiii.yml
index 068deafc89..c63f33fcf7 100644
--- a/spec/build/bsps/sparc64/usiii/bspusiii.yml
+++ b/spec/build/bsps/sparc64/usiii/bspusiii.yml
@@ -26,6 +26,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirqdflt
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -46,7 +48,6 @@ source:
 - bsps/shared/dev/serial/legacy-console-select.c
 - bsps/shared/dev/serial/legacy-console.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
diff --git a/spec/build/bsps/v850/gdbv850sim/grp.yml b/spec/build/bsps/v850/gdbv850sim/grp.yml
index 1c31b7abe3..4d3fa3bb97 100644
--- a/spec/build/bsps/v850/gdbv850sim/grp.yml
+++ b/spec/build/bsps/v850/gdbv850sim/grp.yml
@@ -15,6 +15,8 @@ links:
   uid: abi
 - role: build-dependency
   uid: obj
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: start
 - role: build-dependency
diff --git a/spec/build/bsps/v850/gdbv850sim/obj.yml b/spec/build/bsps/v850/gdbv850sim/obj.yml
index 97650c122e..fae94efd02 100644
--- a/spec/build/bsps/v850/gdbv850sim/obj.yml
+++ b/spec/build/bsps/v850/gdbv850sim/obj.yml
@@ -27,7 +27,6 @@ source:
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c
 - bsps/shared/dev/serial/console-polled.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspstart-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
diff --git a/spec/build/bsps/x86_64/amd64/bspamd64.yml b/spec/build/bsps/x86_64/amd64/bspamd64.yml
index 199641b0ab..4b720d79be 100644
--- a/spec/build/bsps/x86_64/amd64/bspamd64.yml
+++ b/spec/build/bsps/x86_64/amd64/bspamd64.yml
@@ -26,6 +26,8 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
+- role: build-dependency
+  uid: ../../objmem
 - role: build-dependency
   uid: ../../opto2
 - role: build-dependency
@@ -44,7 +46,6 @@ source:
 - bsps/shared/dev/serial/console-termios.c
 - bsps/shared/irq/irq-default-handler.c
 - bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspgetworkarea-default.c
 - bsps/shared/start/bspreset-empty.c
 - bsps/shared/start/gettargethash-default.c
 - bsps/shared/start/sbrk.c
-- 
2.31.1



More information about the devel mailing list