summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-13 11:34:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-17 08:56:32 +0200
commit94ea8a8b49167b4469b22f67e45dc330bf3ad474 (patch)
tree7f573ead57a6b3d8189185ce266f42303aca48cc
parentbsp/tqm8xx: Use custom string to uint32_t (diff)
downloadrtems-94ea8a8b49167b4469b22f67e45dc330bf3ad474.tar.bz2
bsp/tqm8xx: Clear sbss section
-rw-r--r--bsps/powerpc/tqm8xx/start/start.S11
1 files changed, 7 insertions, 4 deletions
diff --git a/bsps/powerpc/tqm8xx/start/start.S b/bsps/powerpc/tqm8xx/start/start.S
index b16b92e1e2..62e8c5ba86 100644
--- a/bsps/powerpc/tqm8xx/start/start.S
+++ b/bsps/powerpc/tqm8xx/start/start.S
@@ -107,11 +107,14 @@ copy_rest_of_text:
start_code_in_ram:
/*
- * ROM/RAM startup: clear bss in SDRAM
+ * ROM/RAM startup: clear sbss/bss in SDRAM
*/
- LA r3, bsp_section_bss_begin /* get start address of bss section */
- LWI r4, bsp_section_bss_size /* get size of bss section */
- bl mpc8xx_zero_4 /* Clear the bss section */
+ LA r3, bsp_section_sbss_begin
+ LWI r4, bsp_section_sbss_size
+ bl mpc8xx_zero_4
+ LA r3, bsp_section_bss_begin
+ LWI r4, bsp_section_bss_size
+ bl mpc8xx_zero_4
/*
* call boot_card
*/