[Blackfin] arch: Fix CONFIG_PM support for BF561

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
Michael Hennerich 2008-02-25 14:39:50 +08:00 committed by Bryan Wu
parent 9253d02041
commit 3927819d51
2 changed files with 4 additions and 5 deletions

View File

@ -31,9 +31,6 @@
#include <asm/blackfin.h> #include <asm/blackfin.h>
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
.text
#if !defined(CONFIG_BF561)
.section .l1.text .section .l1.text
@ -328,10 +325,12 @@ ENTRY(_set_sic_iwr)
RTS; RTS;
ENTRY(_set_rtc_istat) ENTRY(_set_rtc_istat)
#ifndef CONFIG_BF561
P0.H = hi(RTC_ISTAT); P0.H = hi(RTC_ISTAT);
P0.L = lo(RTC_ISTAT); P0.L = lo(RTC_ISTAT);
w[P0] = R0.L; w[P0] = R0.L;
SSYNC; SSYNC;
#endif
RTS; RTS;
ENTRY(_test_pll_locked) ENTRY(_test_pll_locked)
@ -342,4 +341,3 @@ ENTRY(_test_pll_locked)
CC = BITTST(R0,5); CC = BITTST(R0,5);
IF !CC JUMP 1b; IF !CC JUMP 1b;
RTS; RTS;
#endif

View File

@ -49,7 +49,8 @@
#define bfin_read_FIO_INEN() bfin_read_FIO0_INEN() #define bfin_read_FIO_INEN() bfin_read_FIO0_INEN()
#define bfin_write_FIO_INEN(val) bfin_write_FIO0_INEN(val) #define bfin_write_FIO_INEN(val) bfin_write_FIO0_INEN(val)
#define SIC_IWR0 SICA_IWR0
#define SIC_IWR1 SICA_IWR1
#define SIC_IAR0 SICA_IAR0 #define SIC_IAR0 SICA_IAR0
#define bfin_write_SIC_IMASK0 bfin_write_SICA_IMASK0 #define bfin_write_SIC_IMASK0 bfin_write_SICA_IMASK0
#define bfin_write_SIC_IMASK1 bfin_write_SICA_IMASK1 #define bfin_write_SIC_IMASK1 bfin_write_SICA_IMASK1