diff options
author | Stefan Roese <sr@denx.de> | 2008-06-26 11:40:57 (GMT) |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-07-11 11:18:14 (GMT) |
commit | d1631fe1a05b063ccaf62ea892a8887b829847d1 (patch) | |
tree | e07ff2dd3f450db6593d8dcec5bf82dd2db3d512 /include/configs | |
parent | 4fb25a3db3b3839094aa9ab748efd7a95924690b (diff) | |
download | u-boot-d1631fe1a05b063ccaf62ea892a8887b829847d1.tar.xz |
ppc4xx: Consolidate PPC4xx UIC defines
This 2nd patch now removes all UIC mask bit definition. They should be
generated from the vectors by using the UIC_MASK() macro from now on.
This way only the vectors need to get defined for new PPC's.
Also only the really used interrupt vectors are now defined. This makes
definitions for new PPC versions easier and less error prone.
Another part of this patch is that the 4xx emac driver got a little
cleanup, since now the usage of the interrupts is clearer.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/HH405.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/HH405.h b/include/configs/HH405.h index 8ea1ac3..9bcbfe3 100644 --- a/include/configs/HH405.h +++ b/include/configs/HH405.h @@ -407,7 +407,7 @@ /* * define UIC_EXT0 ... UIC_EXT6 if external interrupt is active high */ -#define CFG_UIC0_POLARITY (0xFFFFFF80 | UIC_EXT6) +#define CFG_UIC0_POLARITY (0xFFFFFF80 | UIC_MASK(VECNUM_EIRQ6)) /*----------------------------------------------------------------------- * FPGA stuff |