[rtems commit] bsp/tms570: Use bsp_start_copy_sections_compact()

Sebastian Huber sebh at rtems.org
Mon Jan 15 09:36:31 UTC 2024


Module:    rtems
Branch:    master
Commit:    663bedd59ed44f76b1346e7585a3bccfb590889a
Changeset: http://git.rtems.org/rtems/commit/?id=663bedd59ed44f76b1346e7585a3bccfb590889a

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Dec 21 15:16:49 2023 +0100

bsp/tms570: Use bsp_start_copy_sections_compact()

There is no need to relocate the text and read-only data.

Update #4982.

---

 bsps/arm/tms570/start/bspstarthooks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/arm/tms570/start/bspstarthooks.c b/bsps/arm/tms570/start/bspstarthooks.c
index 71ebf9f32d..81ad42f449 100644
--- a/bsps/arm/tms570/start/bspstarthooks.c
+++ b/bsps/arm/tms570/start/bspstarthooks.c
@@ -43,6 +43,6 @@
 
 BSP_START_TEXT_SECTION void bsp_start_hook_1( void )
 {
-  bsp_start_copy_sections();
+  bsp_start_copy_sections_compact();
   bsp_start_clear_bss();
 }



More information about the vc mailing list