summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2016-09-17 17:09:11 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2016-09-22 08:26:13 +0200
commita396ed4778bb989c5651c0f05528cca1ea474d42 (patch)
tree7d2a5730a75da8cdc9c4147544a85f3635476bff
parent4d3c866aecef67fd236d8114185a45fb934cfe80 (diff)
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.
-rw-r--r--c/src/lib/libbsp/arm/shared/start/start.S1
1 files changed, 1 insertions, 0 deletions
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"