diff options
author | Becky Bruce <beckyb@kernel.crashing.org> | 2008-12-03 22:36:44 -0600 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2009-01-13 15:27:46 -0600 |
commit | 3e3fffe3baf3befde287fec1fcbfe55052fb8946 (patch) | |
tree | 91dfeb07be2227544e11d432c93a1f4b9dccc43f /board/freescale/mpc8610hpcd/law.c | |
parent | 79e436cad3b4a7db88408c3f05175028f30d700d (diff) | |
download | u-boot-imx-3e3fffe3baf3befde287fec1fcbfe55052fb8946.zip u-boot-imx-3e3fffe3baf3befde287fec1fcbfe55052fb8946.tar.gz u-boot-imx-3e3fffe3baf3befde287fec1fcbfe55052fb8946.tar.bz2 |
mpc8610hpcd: Fix PCI mapping concepts
Rename _BASE to _BUS, as it's actually a PCI bus address,
separate virtual and physical addresses into _VIRT and _PHYS,
and use each appopriately. This makes the code easier to read
and understand, and facilitates mapping changes going forward.
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8610hpcd/law.c')
-rw-r--r-- | board/freescale/mpc8610hpcd/law.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mpc8610hpcd/law.c b/board/freescale/mpc8610hpcd/law.c index 2aad28a..0fc8384 100644 --- a/board/freescale/mpc8610hpcd/law.c +++ b/board/freescale/mpc8610hpcd/law.c @@ -31,8 +31,8 @@ struct law_entry law_table[] = { #if !defined(CONFIG_SPD_EEPROM) SET_LAW(CONFIG_SYS_DDR_SDRAM_BASE, LAW_SIZE_512M, LAW_TRGT_IF_DDR_1), #endif - SET_LAW(CONFIG_SYS_PCIE1_MEM_BASE, LAW_SIZE_256M, LAW_TRGT_IF_PCIE_1), - SET_LAW(CONFIG_SYS_PCIE2_MEM_BASE, LAW_SIZE_256M, LAW_TRGT_IF_PCIE_2), + SET_LAW(CONFIG_SYS_PCIE1_MEM_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_PCIE_1), + SET_LAW(CONFIG_SYS_PCIE2_MEM_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_PCIE_2), SET_LAW(PIXIS_BASE, LAW_SIZE_2M, LAW_TRGT_IF_LBC), SET_LAW(CONFIG_SYS_PCIE1_IO_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_PCIE_1), SET_LAW(CONFIG_SYS_PCIE2_IO_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_PCIE_2), |