diff options
author | Stefan Roese <sr@denx.de> | 2010-10-04 11:09:40 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-10-20 10:07:55 +0200 |
commit | f472069fb71c5259594bea200fb4a5ebca04c89a (patch) | |
tree | 1d54263b1919f5b69b49a51a39118613b03adbcd /arch/powerpc/cpu/ppc4xx/interrupts.c | |
parent | 11c8dd36edcc82564a19dbd0103302df66d66db0 (diff) | |
download | u-boot-imx-f472069fb71c5259594bea200fb4a5ebca04c89a.zip u-boot-imx-f472069fb71c5259594bea200fb4a5ebca04c89a.tar.gz u-boot-imx-f472069fb71c5259594bea200fb4a5ebca04c89a.tar.bz2 |
ppc4xx: Change tsr/tcr macros to upper case
Remove uneccessary functions to access the TCR/TSR registers as well.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/interrupts.c')
-rw-r--r-- | arch/powerpc/cpu/ppc4xx/interrupts.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/interrupts.c b/arch/powerpc/cpu/ppc4xx/interrupts.c index c2d4973..d0bca92 100644 --- a/arch/powerpc/cpu/ppc4xx/interrupts.c +++ b/arch/powerpc/cpu/ppc4xx/interrupts.c @@ -67,13 +67,6 @@ static __inline__ void set_pit(unsigned long val) asm volatile("mtpit %0" : : "r" (val)); } - -static __inline__ void set_tcr(unsigned long val) -{ - asm volatile("mttcr %0" : : "r" (val)); -} - - static __inline__ void set_evpr(unsigned long val) { asm volatile("mtevpr %0" : : "r" (val)); |