From: Wolfgang Denk Date: Thu, 24 Sep 2009 22:57:49 +0000 (+0200) Subject: Fix "ppc/85xx: Clean up use of LAWAR defines" breakage X-Git-Tag: v2010.09-rc1~28^2~7^2~42^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=94731e41b659864ae202d51d6cdfa542dff214ee;p=u-boot Fix "ppc/85xx: Clean up use of LAWAR defines" breakage 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 --- diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h index d516d91403..ec22a5058e 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