diff options
author | Becky Bruce <beckyb@kernel.crashing.org> | 2009-02-03 18:10:51 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-02-10 00:27:40 +0100 |
commit | d35ae5a938679bd7e18167faf79d0fb3c6639b51 (patch) | |
tree | f19b433e6645157d2ddc4e6c843c72a3c6bbfd80 /board/etin | |
parent | 6e61fae4d360a1380b63e7d007b31477e366bcce (diff) | |
download | u-boot-imx-d35ae5a938679bd7e18167faf79d0fb3c6639b51.zip u-boot-imx-d35ae5a938679bd7e18167faf79d0fb3c6639b51.tar.gz u-boot-imx-d35ae5a938679bd7e18167faf79d0fb3c6639b51.tar.bz2 |
powerpc: Move duplicated BAT defines to mmu.h
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@kernel.crashing.org>
Diffstat (limited to 'board/etin')
-rw-r--r-- | board/etin/debris/flash.c | 1 | ||||
-rw-r--r-- | board/etin/kvme080/kvme080.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/etin/debris/flash.c b/board/etin/debris/flash.c index a3c8138..f9e8619 100644 --- a/board/etin/debris/flash.c +++ b/board/etin/debris/flash.c @@ -27,6 +27,7 @@ #include <asm/processor.h> #include <asm/pci_io.h> #include <mpc824x.h> +#include <asm/mmu.h> int (*do_flash_erase)(flash_info_t*, uint32_t, uint32_t); int (*write_dword)(flash_info_t*, ulong, uint64_t); diff --git a/board/etin/kvme080/kvme080.c b/board/etin/kvme080/kvme080.c index 8c6afc9..21616f5 100644 --- a/board/etin/kvme080/kvme080.c +++ b/board/etin/kvme080/kvme080.c @@ -27,6 +27,7 @@ #include <i2c.h> #include <netdev.h> #include <asm/processor.h> +#include <asm/mmu.h> int checkboard(void) { |