summaryrefslogtreecommitdiff
path: root/cpu/mpc86xx
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2006-05-31 10:07:28 -0500
committerJon Loeliger <jdl@jdl.com>2006-05-31 10:07:28 -0500
commitb2a941de060350ad15878d8219825f4950e9bb8e (patch)
treef4248d25e892a73f29de60d1d7563af1d2c2ae9e /cpu/mpc86xx
parent126aa70f10ba3d20e0a6f4d32328250513b77770 (diff)
downloadu-boot-imx-b2a941de060350ad15878d8219825f4950e9bb8e.zip
u-boot-imx-b2a941de060350ad15878d8219825f4950e9bb8e.tar.gz
u-boot-imx-b2a941de060350ad15878d8219825f4950e9bb8e.tar.bz2
Remove dead debug code.
Signed-off-by: Jon Loeliger <jdl@jdl.com>
Diffstat (limited to 'cpu/mpc86xx')
-rw-r--r--cpu/mpc86xx/cpu.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c
index e21b051..504ba62 100644
--- a/cpu/mpc86xx/cpu.c
+++ b/cpu/mpc86xx/cpu.c
@@ -35,28 +35,6 @@
#include "../board/mpc8641hpcn/pixis.h"
-static __inline__ unsigned long get_dbat3u (void)
-{
- unsigned long dbat3u;
- asm volatile("mfspr %0, 542" : "=r" (dbat3u) :);
- return dbat3u;
-}
-
-static __inline__ unsigned long get_dbat3l (void)
-{
- unsigned long dbat3l;
- asm volatile("mfspr %0, 543" : "=r" (dbat3l) :);
- return dbat3l;
-}
-
-static __inline__ unsigned long get_msr (void)
-{
- unsigned long msr;
- asm volatile("mfmsr %0" : "=r" (msr) :);
- return msr;
-}
-
-
int checkcpu (void)
{
sys_info_t sysinfo;
@@ -141,8 +119,6 @@ int checkcpu (void)
}
-/* -------------------------------------------------------------------- */
-
static inline void
soft_restart(unsigned long addr)
{