[U-Boot] [PATCH] Fix "ppc/85xx: Clean up use of LAWAR defines" breakage

Wolfgang Denk wd at denx.de
Fri Sep 25 01:04:58 CEST 2009


Commit 002741ae86 modified include/asm-ppc/mmu.h such that the LAWAR_
defines were only enabled for the 83xx platform, but they are also
needed on MPC512x system. Enabling these for E300 systems seems thus
more appropriate.

Signed-off-by: Wolfgang Denk <wd at denx.de>
---
Build tested for all 521x, 83xx, 85xx and 86xx systems.

 include/asm-ppc/mmu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h
index d516d91..ec22a50 100644
--- a/include/asm-ppc/mmu.h
+++ b/include/asm-ppc/mmu.h
@@ -504,7 +504,7 @@ extern int num_tlb_entries;
 #endif
 #endif
 
-#ifdef CONFIG_MPC83xx
+#ifdef CONFIG_E300
 #define LAWAR_EN		0x80000000
 #define LAWAR_SIZE		0x0000003F
 
-- 
1.6.0.6



More information about the U-Boot mailing list