dect
/
linux-2.6
Archived
13
0
Fork 0

Blackfin arch: make sure we use local labels

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Mike Frysinger 2007-05-21 18:09:30 +08:00 committed by Linus Torvalds
parent ac57ac39e4
commit c09c4e0065
1 changed files with 12 additions and 12 deletions

View File

@ -470,7 +470,7 @@ ENTRY(_bfin_reset)
SSYNC; SSYNC;
#if defined(CONFIG_MTD_M25P80) #if defined(CONFIG_MTD_M25P80)
/* /*
* The following code fix the SPI flash reboot issue, * The following code fix the SPI flash reboot issue,
* /CS signal of the chip which is using PF10 return to GPIO mode * /CS signal of the chip which is using PF10 return to GPIO mode
*/ */
@ -480,28 +480,28 @@ ENTRY(_bfin_reset)
w[p0] = r0.l; w[p0] = r0.l;
SSYNC; SSYNC;
/* /CS return to high */ /* /CS return to high */
p0.h = hi(PORTFIO); p0.h = hi(PORTFIO);
p0.l = lo(PORTFIO); p0.l = lo(PORTFIO);
r0.l = 0xFFFF; r0.l = 0xFFFF;
w[p0] = r0.l; w[p0] = r0.l;
SSYNC; SSYNC;
/* Delay some time, This is necessary */ /* Delay some time, This is necessary */
r1.h = 0; r1.h = 0;
r1.l = 0x400; r1.l = 0x400;
p1 = r1; p1 = r1;
lsetup (_delay_lab1,_delay_lab1_end ) lc1 = p1; lsetup (.L_delay_lab1, .L_delay_lab1_end) lc1 = p1;
_delay_lab1: .L_delay_lab1:
r0.h = 0; r0.h = 0;
r0.l = 0x8000; r0.l = 0x8000;
p0 = r0; p0 = r0;
lsetup (_delay_lab0,_delay_lab0_end ) lc0 = p0; lsetup (.L_delay_lab0, .L_delay_lab0_end) lc0 = p0;
_delay_lab0: .L_delay_lab0:
nop; nop;
_delay_lab0_end: .L_delay_lab0_end:
nop; nop;
_delay_lab1_end: .L_delay_lab1_end:
nop; nop;
#endif #endif