[rtems commit] bsp/qoriq: Do not reset time base

Sebastian Huber sebh at rtems.org
Fri Apr 22 12:31:10 UTC 2016


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Apr 22 10:28:00 2016 +0200

bsp/qoriq: Do not reset time base

We may use this as an entropy source.

---

 c/src/lib/libbsp/powerpc/qoriq/start/start.S | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/qoriq/start/start.S b/c/src/lib/libbsp/powerpc/qoriq/start/start.S
index f9ac6a8..466df88 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/start/start.S
+++ b/c/src/lib/libbsp/powerpc/qoriq/start/start.S
@@ -165,11 +165,6 @@ _start:
 
 	/* Do not use r3 here, since this could be the U-Boot board info */
 .Linitearly:
-	/* Reset time base */
-	li	r0, 0
-	mtspr	TBWU, r0
-	mtspr	TBWL, r0
-
 	/* Disable decrementer */
 	mfspr	r0, BOOKE_TCR
 	LWI	r4, BOOKE_TCR_DIE



More information about the vc mailing list