summaryrefslogtreecommitdiff
path: root/board/xes/xpedite5200/law.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-09-19 11:20:54 -0500
committerTom Rix <Tom.Rix@windriver.com>2009-10-03 09:04:34 -0500
commit12a5c0c2761de21b68c2527cc7590997303a7263 (patch)
tree0e8a3839a10ae7460f1422b84de02129f3cca155 /board/xes/xpedite5200/law.c
parented18c1913b17ccfd76126f3d9baca4c0d698548f (diff)
downloadu-boot-imx-12a5c0c2761de21b68c2527cc7590997303a7263.zip
u-boot-imx-12a5c0c2761de21b68c2527cc7590997303a7263.tar.gz
u-boot-imx-12a5c0c2761de21b68c2527cc7590997303a7263.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/xes/xpedite5200/law.c')
-rw-r--r--board/xes/xpedite5200/law.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xes/xpedite5200/law.c b/board/xes/xpedite5200/law.c
index 386f9c5..bbfcb9d 100644
--- a/board/xes/xpedite5200/law.c
+++ b/board/xes/xpedite5200/law.c
@@ -40,7 +40,7 @@ struct law_entry law_table[] = {
SET_LAW(CONFIG_SYS_NAND_BASE, LAW_SIZE_1M, LAW_TRGT_IF_LBC),
#if CONFIG_SYS_PCI1_MEM_PHYS
SET_LAW(CONFIG_SYS_PCI1_MEM_PHYS, LAW_SIZE_1G, LAW_TRGT_IF_PCI_1),
- SET_LAW(CONFIG_SYS_PCI1_IO_PHYS, LAWAR_SIZE_8M, LAW_TRGT_IF_PCI_1),
+ SET_LAW(CONFIG_SYS_PCI1_IO_PHYS, LAW_SIZE_8M, LAW_TRGT_IF_PCI_1),
#endif
#if CONFIG_SYS_PCI2_MEM_PHYS
SET_LAW(CONFIG_SYS_PCI2_MEM_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_PCI_2),