From: Wolfgang Denk Date: Tue, 10 Feb 2009 00:32:13 +0100 Subject: [U-Boot] [PATCH 3/8] powerpc: Move duplicated BAT defines to mmu.h In-Reply-To: <1233706256-13878-4-git-send-email-beckyb@kernel.crashing.org> References: <1233706256-13878-1-git-send-email-beckyb@kernel.crashing.org> <1233706256-13878-4-git-send-email-beckyb@kernel.crashing.org> Message-ID: <20090209233213.24AFD832E893@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Becky Bruce, In message <1233706256-13878-4-git-send-email-beckyb@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 > --- > 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_