aboutsummaryrefslogtreecommitdiff
path: root/board/etin/debris
diff options
context:
space:
mode:
authorBecky Bruce2009-02-03 18:10:51 -0600
committerWolfgang Denk2009-02-10 00:27:40 +0100
commitd35ae5a938679bd7e18167faf79d0fb3c6639b51 (patch)
treef19b433e6645157d2ddc4e6c843c72a3c6bbfd80 /board/etin/debris
parent6e61fae4d360a1380b63e7d007b31477e366bcce (diff)
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/debris')
-rw-r--r--board/etin/debris/flash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/etin/debris/flash.c b/board/etin/debris/flash.c
index a3c8138841c..f9e861942d9 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);