summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/uic.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-09-01 00:04:26 +0200
committerWolfgang Denk <wd@denx.de>2008-09-01 00:04:26 +0200
commite155c9e00b5f21a6de28479259c440ba71289d00 (patch)
treec15c30ce3db5d872eae093b37776bb720ae8960c /cpu/ppc4xx/uic.c
parentde5b094def5d80c4355c0326cfb54b9289f7d609 (diff)
parentc2b4b2e4814f4ace9015fdb64132894327400bf0 (diff)
downloadu-boot-imx-e155c9e00b5f21a6de28479259c440ba71289d00.zip
u-boot-imx-e155c9e00b5f21a6de28479259c440ba71289d00.tar.gz
u-boot-imx-e155c9e00b5f21a6de28479259c440ba71289d00.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Diffstat (limited to 'cpu/ppc4xx/uic.c')
-rw-r--r--cpu/ppc4xx/uic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/uic.c b/cpu/ppc4xx/uic.c
index 7944c6c..a95d1cb 100644
--- a/cpu/ppc4xx/uic.c
+++ b/cpu/ppc4xx/uic.c
@@ -129,11 +129,11 @@ void external_interrupt(struct pt_regs *regs)
uic_interrupt(UIC3_DCR_BASE, 96);
#endif
+ mtdcr(uic0sr, (uic_msr & UICB0_ALL));
+
if (uic_msr & ~(UICB0_ALL))
uic_interrupt(UIC0_DCR_BASE, 0);
- mtdcr(uic0sr, uic_msr);
-
return;
}