From: Wolfgang Denk Date: Fri, 25 Sep 2009 01:04:58 +0200 Subject: [U-Boot] [PATCH] Fix "ppc/85xx: Clean up use of LAWAR defines" breakage In-Reply-To: <1253378397-18821-1-git-send-email-galak@kernel.crashing.org> References: <1253378397-18821-1-git-send-email-galak@kernel.crashing.org> Message-ID: <1253833498-22338-1-git-send-email-wd@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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