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: v2009.11-rc1~90 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9d142ea8f787882ab732fa531a34db091bfa363d;p=oweals%2Fu-boot.git 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