aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/blackfin/mach-bf527/head.S9
-rw-r--r--arch/blackfin/mach-bf537/head.S9
-rw-r--r--arch/blackfin/mach-common/ints-priority.c5
3 files changed, 5 insertions, 18 deletions
diff --git a/arch/blackfin/mach-bf527/head.S b/arch/blackfin/mach-bf527/head.S
index 2cc46f8fa9a7..fa4b18eddf63 100644
--- a/arch/blackfin/mach-bf527/head.S
+++ b/arch/blackfin/mach-bf527/head.S
@@ -40,15 +40,6 @@
40__INIT 40__INIT
41 41
42ENTRY(_mach_early_start) 42ENTRY(_mach_early_start)
43#if defined(CONFIG_BF527)
44 p0.h = hi(EMAC_SYSTAT);
45 p0.l = lo(EMAC_SYSTAT);
46 R0.h = 0xFFFF; /* Clear EMAC Interrupt Status bits */
47 R0.l = 0xFFFF;
48 [P0] = R0;
49 SSYNC;
50#endif
51
52 /* Initialise UART - when booting from u-boot, the UART is not disabled 43 /* Initialise UART - when booting from u-boot, the UART is not disabled
53 * so if we dont initalize here, our serial console gets hosed */ 44 * so if we dont initalize here, our serial console gets hosed */
54 p0.h = hi(UART1_LCR); 45 p0.h = hi(UART1_LCR);
diff --git a/arch/blackfin/mach-bf537/head.S b/arch/blackfin/mach-bf537/head.S
index c02c8ce2d96f..ba81b779511d 100644
--- a/arch/blackfin/mach-bf537/head.S
+++ b/arch/blackfin/mach-bf537/head.S
@@ -54,15 +54,6 @@ ENTRY(_mach_early_start)
54 W[P0] = R0.L; 54 W[P0] = R0.L;
55 SSYNC; 55 SSYNC;
56 56
57#if !defined(CONFIG_BF534)
58 p0.h = hi(EMAC_SYSTAT);
59 p0.l = lo(EMAC_SYSTAT);
60 R0.h = 0xFFFF; /* Clear EMAC Interrupt Status bits */
61 R0.l = 0xFFFF;
62 [P0] = R0;
63 SSYNC;
64#endif
65
66 /* Initialise UART - when booting from u-boot, the UART is not disabled 57 /* Initialise UART - when booting from u-boot, the UART is not disabled
67 * so if we dont initalize here, our serial console gets hosed */ 58 * so if we dont initalize here, our serial console gets hosed */
68 p0.h = hi(BFIN_UART_LCR); 59 p0.h = hi(BFIN_UART_LCR);
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index 7f9df4ee7346..62f8883a5c27 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -983,6 +983,11 @@ int __init init_arch_irq(void)
983 983
984 local_irq_disable(); 984 local_irq_disable();
985 985
986#if defined(CONFIG_BF527) || defined(CONFIG_BF536) || defined(CONFIG_BF537)
987 /* Clear EMAC Interrupt Status bits so we can demux it later */
988 bfin_write_EMAC_SYSTAT(-1);
989#endif
990
986#ifdef CONFIG_BF54x 991#ifdef CONFIG_BF54x
987# ifdef CONFIG_PINTx_REASSIGN 992# ifdef CONFIG_PINTx_REASSIGN
988 pint[0]->assign = CONFIG_PINT0_ASSIGN; 993 pint[0]->assign = CONFIG_PINT0_ASSIGN;