ppc4xx: Define CONFIG_BOOKE for all PPC440 based processors
authorEugene O'Brien <eugene.obrien@advantechamt.com>
Thu, 18 Oct 2007 15:29:04 +0000 (17:29 +0200)
committerStefan Roese <sr@denx.de>
Wed, 31 Oct 2007 20:20:50 +0000 (21:20 +0100)
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 <eugene.obrien@advantechamt.com>
Signed-off-by: Stefan Roese <sr@denx.de>
include/asm-ppc/processor.h

index 451ee94f618d5eb16506abc7a83300fa886a4cf6..f58b38aace65de1b11941643cd11cdb05e52f07c 100644 (file)
 
 /* 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 */