From: Jon Loeliger Date: Wed, 9 Aug 2006 18:36:54 +0000 (-0500) Subject: Merge branch 'wd' X-Git-Tag: U-Boot-1_1_6~20^2~3^2~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=281f69ede28cd3d8be5d62a96b5a0b73e6065858;p=u-boot Merge branch 'wd' --- 281f69ede28cd3d8be5d62a96b5a0b73e6065858 diff --cc include/asm-ppc/mmu.h index 612b5df487,baaf6f7976..11de3b0879 --- a/include/asm-ppc/mmu.h +++ b/include/asm-ppc/mmu.h @@@ -478,9 -469,46 +478,50 @@@ extern int write_bat(ppc_bat_t bat, uns #define LAWAR_SIZE_512M (LAWAR_SIZE_BASE+18) #define LAWAR_SIZE_1G (LAWAR_SIZE_BASE+19) #define LAWAR_SIZE_2G (LAWAR_SIZE_BASE+20) +#define LAWAR_SIZE_4G (LAWAR_SIZE_BASE+21) +#define LAWAR_SIZE_8G (LAWAR_SIZE_BASE+22) +#define LAWAR_SIZE_16G (LAWAR_SIZE_BASE+23) +#define LAWAR_SIZE_32G (LAWAR_SIZE_BASE+24) + #ifdef CONFIG_440SPE + /*----------------------------------------------------------------------------+ + | Following instructions are not available in Book E mode of the GNU assembler. + +----------------------------------------------------------------------------*/ + #define DCCCI(ra,rb) .long 0x7c000000|\ + (ra<<16)|(rb<<11)|(454<<1) + + #define ICCCI(ra,rb) .long 0x7c000000|\ + (ra<<16)|(rb<<11)|(966<<1) + + #define DCREAD(rt,ra,rb) .long 0x7c000000|\ + (rt<<21)|(ra<<16)|(rb<<11)|(486<<1) + + #define ICREAD(ra,rb) .long 0x7c000000|\ + (ra<<16)|(rb<<11)|(998<<1) + + #define TLBSX(rt,ra,rb) .long 0x7c000000|\ + (rt<<21)|(ra<<16)|(rb<<11)|(914<<1) + + #define TLBWE(rs,ra,ws) .long 0x7c000000|\ + (rs<<21)|(ra<<16)|(ws<<11)|(978<<1) + + #define TLBRE(rt,ra,ws) .long 0x7c000000|\ + (rt<<21)|(ra<<16)|(ws<<11)|(946<<1) + + #define TLBSXDOT(rt,ra,rb) .long 0x7c000001|\ + (rt<<21)|(ra<<16)|(rb<<11)|(914<<1) + + #define MSYNC .long 0x7c000000|\ + (598<<1) + + #define MBAR_INST .long 0x7c000000|\ + (854<<1) + + /*----------------------------------------------------------------------------+ + | Following instruction is not available in PPC405 mode of the GNU assembler. + +----------------------------------------------------------------------------*/ + #define TLBRE(rt,ra,ws) .long 0x7c000000|\ + (rt<<21)|(ra<<16)|(ws<<11)|(946<<1) + + #endif #endif /* _PPC_MMU_H_ */