From c67a1a4de1a1839cb5aab89b936833b42569a5e3 Mon Sep 17 00:00:00 2001 From: Eero Nurkkala Date: Fri, 14 Jan 2022 09:11:03 +0200 Subject: [PATCH] risc-v/mpfs: ld-envm-opensbi.script: add all opensbi code to .text.sbi Add the rest of the OpenSBI code to .text.sbi -section. They belong to there. This frees up some space in the very limited eNVM. Signed-off-by: Eero Nurkkala --- boards/risc-v/mpfs/icicle/scripts/ld-envm-opensbi.script | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boards/risc-v/mpfs/icicle/scripts/ld-envm-opensbi.script b/boards/risc-v/mpfs/icicle/scripts/ld-envm-opensbi.script index 2d4e20f1d1..23e6585b3d 100755 --- a/boards/risc-v/mpfs/icicle/scripts/ld-envm-opensbi.script +++ b/boards/risc-v/mpfs/icicle/scripts/ld-envm-opensbi.script @@ -34,6 +34,9 @@ SECTIONS { .text.sbi : { sbi* + riscv_atomic* + riscv_locks* + riscv_asm* } > ddr .ddrstorage : {