diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-09-19 11:20:54 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-09-24 12:04:58 -0500 |
commit | 002741ae862c1c7e3dad89d020e392e6add1c05d (patch) | |
tree | 74789a945930bfd66faadf7394ae84f74f2c4dd9 /include | |
parent | f61dae7c9dc526410faec15ce352b11fc36a560b (diff) | |
download | u-boot-imx-002741ae862c1c7e3dad89d020e392e6add1c05d.zip u-boot-imx-002741ae862c1c7e3dad89d020e392e6add1c05d.tar.gz u-boot-imx-002741ae862c1c7e3dad89d020e392e6add1c05d.tar.bz2 |
ppc/85xx: Clean up use of LAWAR defines
On 85xx platforms we shouldn't be using any LAWAR_* defines
but using the LAW_* ones provided by fsl-law.h. Rename any such
uses and limit the LAWAR_ to the 83xx platform as the only user so
we will get compile errors in the future.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc/mmu.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h index a019d0b..d516d91 100644 --- a/include/asm-ppc/mmu.h +++ b/include/asm-ppc/mmu.h @@ -504,13 +504,7 @@ extern int num_tlb_entries; #endif #endif -#if defined(CONFIG_MPC86xx) -#define LAWBAR_BASE_ADDR 0x00FFFFFF -#define LAWAR_TRGT_IF 0x01F00000 -#else -#define LAWBAR_BASE_ADDR 0x000FFFFF -#define LAWAR_TRGT_IF 0x00F00000 -#endif +#ifdef CONFIG_MPC83xx #define LAWAR_EN 0x80000000 #define LAWAR_SIZE 0x0000003F @@ -554,6 +548,7 @@ extern int num_tlb_entries; #define LAWAR_SIZE_8G (LAWAR_SIZE_BASE+22) #define LAWAR_SIZE_16G (LAWAR_SIZE_BASE+23) #define LAWAR_SIZE_32G (LAWAR_SIZE_BASE+24) +#endif #ifdef CONFIG_440 /* General */ |