summaryrefslogtreecommitdiff
path: root/board/socrates/law.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-09-19 11:20:54 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-09-24 12:04:58 -0500
commit002741ae862c1c7e3dad89d020e392e6add1c05d (patch)
tree74789a945930bfd66faadf7394ae84f74f2c4dd9 /board/socrates/law.c
parentf61dae7c9dc526410faec15ce352b11fc36a560b (diff)
downloadu-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 'board/socrates/law.c')
-rw-r--r--board/socrates/law.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/socrates/law.c b/board/socrates/law.c
index 71cff8c..cb55fd4 100644
--- a/board/socrates/law.c
+++ b/board/socrates/law.c
@@ -52,9 +52,9 @@ struct law_entry law_table[] = {
SET_LAW(CONFIG_SYS_LBC_FLASH_BASE, LAW_SIZE_64M, LAW_TRGT_IF_LBC),
SET_LAW(CONFIG_SYS_PCI1_IO_PHYS, LAW_SIZE_16M, LAW_TRGT_IF_PCI),
#if defined(CONFIG_SYS_FPGA_BASE)
- SET_LAW(CONFIG_SYS_FPGA_BASE, LAWAR_SIZE_1M, LAW_TRGT_IF_LBC),
+ SET_LAW(CONFIG_SYS_FPGA_BASE, LAW_SIZE_1M, LAW_TRGT_IF_LBC),
#endif
- SET_LAW(CONFIG_SYS_LIME_BASE, LAWAR_SIZE_64M, LAW_TRGT_IF_LBC),
+ SET_LAW(CONFIG_SYS_LIME_BASE, LAW_SIZE_64M, LAW_TRGT_IF_LBC),
};
int num_law_entries = ARRAY_SIZE(law_table);