Fix "ppc/85xx: Clean up use of LAWAR defines" breakage
authorWolfgang Denk <wd@denx.de>
Thu, 24 Sep 2009 22:57:49 +0000 (00:57 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 24 Sep 2009 23:02:52 +0000 (01:02 +0200)
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@denx.de>
include/asm-ppc/mmu.h

index d516d91403d25b1e6ec013ed8f8a04c1d0ee6696..ec22a5058e1c0b2b829284246c8cf7bcec374b76 100644 (file)
@@ -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