public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 2/3] ppc4xx: Consolidate PPC4xx UIC defines
Date: Sat, 28 Jun 2008 14:06:40 +0200	[thread overview]
Message-ID: <200806281406.40770.sr@denx.de> (raw)

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>
---
 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

                 reply	other threads:[~2008-06-28 12:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200806281406.40770.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox