From: Eugene O'Brien Date: Thu, 18 Oct 2007 15:29:04 +0000 (+0200) Subject: ppc4xx: Define CONFIG_BOOKE for all PPC440 based processors X-Git-Tag: v1.3.2-rc1~102^2~114 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6ba9b56607d4b27550301c7c7f6b55b654fd62a;p=u-boot ppc4xx: Define CONFIG_BOOKE for all PPC440 based processors CONFIG_BOOKE must be defined for PPC440 processors so that the proper SPR number is used to access system registers. Signed-off-by: Eugene O'Brien Signed-off-by: Stefan Roese --- diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h index 451ee94f61..f58b38aace 100644 --- a/include/asm-ppc/processor.h +++ b/include/asm-ppc/processor.h @@ -91,6 +91,11 @@ /* Special Purpose Registers (SPRNs)*/ +/* PPC440 Architecture is BOOK-E */ +#ifdef CONFIG_440 +#define CONFIG_BOOKE +#endif + #define SPRN_CDBCR 0x3D7 /* Cache Debug Control Register */ #define SPRN_CTR 0x009 /* Count Register */ #define SPRN_DABR 0x3F5 /* Data Address Breakpoint Register */