[U-Boot-Users] [PATCH 2/3] ppc4xx: Consolidate PPC4xx UIC defines

Stefan Roese sr at denx.de
Sat Jun 28 14:06:40 CEST 2008


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 at denx.de>
---
 board/amcc/sequoia/sequoia.c |    2 +-
 common/cmd_reginfo.c         |    5 +-
 cpu/ppc4xx/4xx_enet.c        |  408 +++++++-----------------
 cpu/ppc4xx/interrupts.c      |   75 +++--
 cpu/ppc4xx/usbdev.c          |    2 +-
 include/asm-ppc/ppc4xx-uic.h |  648 ++++++++++++++------------------------
 include/configs/HH405.h      |    2 +-
 include/ppc405.h             |  247 ---------------
 include/ppc440.h             |  706 ------------------------------------------
 9 files changed, 397 insertions(+), 1698 deletions(-)

Unfortunately this patch is too big for the list limit and its nearly
impossible to split this into smaller pieces by leaving the repo
git-bisectable.
Because of this please find the patch at this location for review:

http://pastebin.com/m122589f4

Best regards,
Stefan




More information about the U-Boot mailing list