[rtems commit] bsp/mpc5200: Do not initialize debug registers

Sebastian Huber sebh at rtems.org
Tue Apr 23 07:54:58 UTC 2013


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Apr 19 12:50:10 2013 +0200

bsp/mpc5200: Do not initialize debug registers

---

 c/src/lib/libbsp/powerpc/gen5200/start/start.S |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/gen5200/start/start.S b/c/src/lib/libbsp/powerpc/gen5200/start/start.S
index 1dbdc62..139711a 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/start/start.S
+++ b/c/src/lib/libbsp/powerpc/gen5200/start/start.S
@@ -284,9 +284,6 @@ start:
 	bne	skip_ROM_start 			/* If BOOT_ROM is not enabled, skip further initialization */
 
 /* do some board dependent configuration (unique for ROM startup) */
-	bl	SPRG_brk_init			/* Initialize special purpose onchip breakpoint registers */
-
-
 	LWI     r30, CSCONTROL_VAL		/* get CSCONTROL register content */
 	stw	r30, CSCONTROL(r31)		/* enable internal/external bus error and master for CS */
 
@@ -838,23 +835,6 @@ SPRG_init:					/* initialize registers */
 
 	blr
 
-SPRG_brk_init:
-	xor	r30, r30, r30
-
-	mtspr	DABR2, r30
-	mtspr	DBCR, r30
-	mtspr	IBCR, r30
-	mtspr	IABR, r30
-	mtspr	HID2, r30
-	mtspr	DABR, r30
-	mtspr	IABR2, r30
-
-
-
-
-	blr
-
-
 PPC_HID0_rd:					/* get HID0 content to r30 */
 
 




More information about the vc mailing list