diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2007-06-20 23:34:16 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-06-20 23:34:16 -0400 |
commit | 1c5d2265a82f8d3fa0471a60ca98072b3c53c299 (patch) | |
tree | d0644427e9d700df594fa8dbcbb1338bfd982ac2 /arch/blackfin | |
parent | f8ffe652a01506e85e2dd579c58e50a3ba391921 (diff) |
Blackfin arch: add missing implementations SIC_IWR crosses several registers
SIC_IWR crosses several registers
- add missing implementations
- make sure SIC_IWR is SET after boot
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-common/ints-priority-dc.c | 3 | ||||
-rw-r--r-- | arch/blackfin/mach-common/ints-priority-sc.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/ints-priority-dc.c b/arch/blackfin/mach-common/ints-priority-dc.c index 80943bbd37c2..e6511db24032 100644 --- a/arch/blackfin/mach-common/ints-priority-dc.c +++ b/arch/blackfin/mach-common/ints-priority-dc.c | |||
@@ -371,6 +371,9 @@ int __init init_arch_irq(void) | |||
371 | bfin_write_SICA_IMASK1(SIC_UNMASK_ALL); | 371 | bfin_write_SICA_IMASK1(SIC_UNMASK_ALL); |
372 | SSYNC(); | 372 | SSYNC(); |
373 | 373 | ||
374 | bfin_write_SICA_IWR0(IWR_ENABLE_ALL); | ||
375 | bfin_write_SICA_IWR1(IWR_ENABLE_ALL); | ||
376 | |||
374 | local_irq_disable(); | 377 | local_irq_disable(); |
375 | 378 | ||
376 | init_exception_buff(); | 379 | init_exception_buff(); |
diff --git a/arch/blackfin/mach-common/ints-priority-sc.c b/arch/blackfin/mach-common/ints-priority-sc.c index cec0f841fb5a..27838da55d6c 100644 --- a/arch/blackfin/mach-common/ints-priority-sc.c +++ b/arch/blackfin/mach-common/ints-priority-sc.c | |||
@@ -472,8 +472,12 @@ int __init init_arch_irq(void) | |||
472 | bfin_write_SIC_IMASK0(SIC_UNMASK_ALL); | 472 | bfin_write_SIC_IMASK0(SIC_UNMASK_ALL); |
473 | bfin_write_SIC_IMASK1(SIC_UNMASK_ALL); | 473 | bfin_write_SIC_IMASK1(SIC_UNMASK_ALL); |
474 | bfin_write_SIC_IMASK2(SIC_UNMASK_ALL); | 474 | bfin_write_SIC_IMASK2(SIC_UNMASK_ALL); |
475 | bfin_write_SIC_IWR0(IWR_ENABLE_ALL); | ||
476 | bfin_write_SIC_IWR1(IWR_ENABLE_ALL); | ||
477 | bfin_write_SIC_IWR2(IWR_ENABLE_ALL); | ||
475 | #else | 478 | #else |
476 | bfin_write_SIC_IMASK(SIC_UNMASK_ALL); | 479 | bfin_write_SIC_IMASK(SIC_UNMASK_ALL); |
480 | bfin_write_SIC_IWR(IWR_ENABLE_ALL); | ||
477 | #endif | 481 | #endif |
478 | 482 | ||
479 | SSYNC(); | 483 | SSYNC(); |