[U-Boot] [PATCH 4/7] mpc85xx: Setup SRIO memory region LAW for MPC8569E-MDS boards

This patch sets memory window for Serial RapidIO on MPC8569E-MDS boards.
Signed-off-by: Anton Vorontsov avorontsov@ru.mvista.com --- board/freescale/mpc8569mds/law.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/board/freescale/mpc8569mds/law.c b/board/freescale/mpc8569mds/law.c index e7381aa..60eea45 100644 --- a/board/freescale/mpc8569mds/law.c +++ b/board/freescale/mpc8569mds/law.c @@ -54,6 +54,7 @@ struct law_entry law_table[] = { SET_LAW(CONFIG_SYS_PCIE1_MEM_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_PCIE_1), SET_LAW(CONFIG_SYS_PCIE1_IO_PHYS, LAW_SIZE_8M, LAW_TRGT_IF_PCIE_1), SET_LAW(CONFIG_SYS_BCSR_BASE_PHYS, LAW_SIZE_128M, LAW_TRGT_IF_LBC), + SET_LAW(CONFIG_SYS_SRIO_MEM_PHYS, LAW_SIZE_512M, LAW_TRGT_IF_RIO), };
int num_law_entries = ARRAY_SIZE(law_table);

On Aug 19, 2009, at 1:37 PM, Anton Vorontsov wrote:
This patch sets memory window for Serial RapidIO on MPC8569E-MDS boards.
Signed-off-by: Anton Vorontsov avorontsov@ru.mvista.com
board/freescale/mpc8569mds/law.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/board/freescale/mpc8569mds/law.c b/board/freescale/ mpc8569mds/law.c index e7381aa..60eea45 100644 --- a/board/freescale/mpc8569mds/law.c +++ b/board/freescale/mpc8569mds/law.c @@ -54,6 +54,7 @@ struct law_entry law_table[] = { SET_LAW(CONFIG_SYS_PCIE1_MEM_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_PCIE_1), SET_LAW(CONFIG_SYS_PCIE1_IO_PHYS, LAW_SIZE_8M, LAW_TRGT_IF_PCIE_1), SET_LAW(CONFIG_SYS_BCSR_BASE_PHYS, LAW_SIZE_128M, LAW_TRGT_IF_LBC),
- SET_LAW(CONFIG_SYS_SRIO_MEM_PHYS, LAW_SIZE_512M, LAW_TRGT_IF_RIO),
};
Did I miss where we set CONFIG_SYS_SRIO_MEM_PHYS?
- k

On Tue, Sep 15, 2009 at 11:18:16PM -0500, Kumar Gala wrote:
On Aug 19, 2009, at 1:37 PM, Anton Vorontsov wrote:
This patch sets memory window for Serial RapidIO on MPC8569E-MDS boards.
Signed-off-by: Anton Vorontsov avorontsov@ru.mvista.com
board/freescale/mpc8569mds/law.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/board/freescale/mpc8569mds/law.c b/board/freescale/ mpc8569mds/law.c index e7381aa..60eea45 100644 --- a/board/freescale/mpc8569mds/law.c +++ b/board/freescale/mpc8569mds/law.c @@ -54,6 +54,7 @@ struct law_entry law_table[] = { SET_LAW(CONFIG_SYS_PCIE1_MEM_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_PCIE_1), SET_LAW(CONFIG_SYS_PCIE1_IO_PHYS, LAW_SIZE_8M, LAW_TRGT_IF_PCIE_1), SET_LAW(CONFIG_SYS_BCSR_BASE_PHYS, LAW_SIZE_128M, LAW_TRGT_IF_LBC),
- SET_LAW(CONFIG_SYS_SRIO_MEM_PHYS, LAW_SIZE_512M, LAW_TRGT_IF_RIO),
};
Did I miss where we set CONFIG_SYS_SRIO_MEM_PHYS?
It is already set in include/configs/MPC8569MDS.h.
Thanks,
participants (2)
-
Anton Vorontsov
-
Kumar Gala