[U-Boot] [PATCH 3/8] powerpc: Move duplicated BAT defines to mmu.h

Wolfgang Denk wd at denx.de
Tue Feb 10 00:32:13 CET 2009


Dear Becky Bruce,

In message <1233706256-13878-4-git-send-email-beckyb at kernel.crashing.org> you wrote:
> The BAT fields are architected; there's no need for these to be in
> cpu-specific files.  Drop the duplication and move these to
> include/asm-ppc/mmu.h.  Also, remove the BL_xxx defines that were only
> used by the alaska board, and switch to using the BATU_BL_xxx defines
> used by all the other boards.  The BL_ defines previously in use
> had to be shifted into the proper position for use, which was inefficient.
> 
> Signed-off-by: Becky Bruce <beckyb at kernel.crashing.org>
> ---
>  board/alaska/alaska.c        |   36 +++++++++++++-------------
>  board/etin/debris/flash.c    |    1 +
>  board/etin/kvme080/kvme080.c |    1 +
>  include/74xx_7xx.h           |   37 ---------------------------
>  include/asm-ppc/e300.h       |   35 -------------------------
>  include/asm-ppc/mmu.h        |   57 ++++++++++++++++++++++++++++++++---------
>  include/mpc824x.h            |   39 ----------------------------
>  include/mpc86xx.h            |   41 ------------------------------
>  8 files changed, 64 insertions(+), 183 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"One day," said a dull voice from down below, "I'm going to  be  back
in  form again and you're going to be very sorry you said that. For a
very long time. I might even go so far as to make even more Time just
for you to be sorry in."              - Terry Pratchett, _Small Gods_


More information about the U-Boot mailing list