From 528c7d4bc89e68044a6b56effc4f5f955052e3d7 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sat, 17 Sep 2016 17:09:11 +0200 Subject: bsps/arm: Export bsp_start_hook_0_done symbol from ARM start.S. The symbol can be used by bsp_start_hook_0 when complete RAM memory is initialization and overwritten during BSP self-test. The test overwrites even memory used to store return address / link register and regular resturn from bsp_start_hook_0 is not possible then. --- c/src/lib/libbsp/arm/shared/start/start.S | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/arm/shared/start/start.S b/c/src/lib/libbsp/arm/shared/start/start.S index 30501be1e8..cb66d82483 100644 --- a/c/src/lib/libbsp/arm/shared/start/start.S +++ b/c/src/lib/libbsp/arm/shared/start/start.S @@ -65,6 +65,7 @@ .globl bsp_start_vector_table_end .globl bsp_start_vector_table_size .globl bsp_vector_table_size + .globl bsp_start_hook_0_done .section ".bsp_start_text", "ax" -- cgit v1.2.3