[PATCH] include/ppc440.h minor error affecting interrupts

Fixed include/ppc440.c for UIC address Bug

Corrects bug affecting the addresses for the universal interrupt
controller UIC2 and UIC3 on the PPC440 Epx, GRx, and SPE chips.

Signed-off-by: Jeff Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Stefan Roese 2006-11-29 12:03:57 +01:00
parent e59581c56a
commit 4e26f1074c
1 changed files with 18 additions and 18 deletions

View File

@ -1350,26 +1350,26 @@
#if defined(CONFIG_440SPE) || defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
#define UIC2_DCR_BASE 0xe0
#define uic2sr (UIC0_DCR_BASE+0x0) /* UIC2 status-Read Clear */
#define uic2srs (UIC0_DCR_BASE+0x1) /* UIC2 status-Read Set */
#define uic2er (UIC0_DCR_BASE+0x2) /* UIC2 enable */
#define uic2cr (UIC0_DCR_BASE+0x3) /* UIC2 critical */
#define uic2pr (UIC0_DCR_BASE+0x4) /* UIC2 polarity */
#define uic2tr (UIC0_DCR_BASE+0x5) /* UIC2 triggering */
#define uic2msr (UIC0_DCR_BASE+0x6) /* UIC2 masked status */
#define uic2vr (UIC0_DCR_BASE+0x7) /* UIC2 vector */
#define uic2vcr (UIC0_DCR_BASE+0x8) /* UIC2 vector configuration */
#define uic2sr (UIC2_DCR_BASE+0x0) /* UIC2 status-Read Clear */
#define uic2srs (UIC2_DCR_BASE+0x1) /* UIC2 status-Read Set */
#define uic2er (UIC2_DCR_BASE+0x2) /* UIC2 enable */
#define uic2cr (UIC2_DCR_BASE+0x3) /* UIC2 critical */
#define uic2pr (UIC2_DCR_BASE+0x4) /* UIC2 polarity */
#define uic2tr (UIC2_DCR_BASE+0x5) /* UIC2 triggering */
#define uic2msr (UIC2_DCR_BASE+0x6) /* UIC2 masked status */
#define uic2vr (UIC2_DCR_BASE+0x7) /* UIC2 vector */
#define uic2vcr (UIC2_DCR_BASE+0x8) /* UIC2 vector configuration */
#define UIC3_DCR_BASE 0xf0
#define uic3sr (UIC1_DCR_BASE+0x0) /* UIC3 status-Read Clear */
#define uic3srs (UIC0_DCR_BASE+0x1) /* UIC3 status-Read Set */
#define uic3er (UIC1_DCR_BASE+0x2) /* UIC3 enable */
#define uic3cr (UIC1_DCR_BASE+0x3) /* UIC3 critical */
#define uic3pr (UIC1_DCR_BASE+0x4) /* UIC3 polarity */
#define uic3tr (UIC1_DCR_BASE+0x5) /* UIC3 triggering */
#define uic3msr (UIC1_DCR_BASE+0x6) /* UIC3 masked status */
#define uic3vr (UIC1_DCR_BASE+0x7) /* UIC3 vector */
#define uic3vcr (UIC1_DCR_BASE+0x8) /* UIC3 vector configuration */
#define uic3sr (UIC3_DCR_BASE+0x0) /* UIC3 status-Read Clear */
#define uic3srs (UIC3_DCR_BASE+0x1) /* UIC3 status-Read Set */
#define uic3er (UIC3_DCR_BASE+0x2) /* UIC3 enable */
#define uic3cr (UIC3_DCR_BASE+0x3) /* UIC3 critical */
#define uic3pr (UIC3_DCR_BASE+0x4) /* UIC3 polarity */
#define uic3tr (UIC3_DCR_BASE+0x5) /* UIC3 triggering */
#define uic3msr (UIC3_DCR_BASE+0x6) /* UIC3 masked status */
#define uic3vr (UIC3_DCR_BASE+0x7) /* UIC3 vector */
#define uic3vcr (UIC3_DCR_BASE+0x8) /* UIC3 vector configuration */
#endif /* CONFIG_440SPE */
#if defined(CONFIG_440GX)