Skip to contentSkip to conversation

mpc85xx: Setup SRIO memory region LAW for MPC8569E-MDS boards

PATCH New Anton Vorontsov 2 participants 3 messages Aug 19, 2009 – Oct 12, 2009

lore
Share & tools
lore
#0 lore raw

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.

---
 board/freescale/mpc8569mds/law.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
board/freescale/mpc8569mds/law.c +1 -0
index e7381aa..60eea45 100644
@@ -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);
Signature · 1 line
1.6.3.3
#1 lore raw

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

Quoted 14 lines · Anton Vorontsov

This patch sets memory window for Serial RapidIO on MPC8569E-MDS boards.

---
board/freescale/mpc8569mds/law.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
board/freescale/ renamed from board/freescale/mpc8569mds/law.c +0 -0

mpc8569mds/law.c
index e7381aa..60eea45 100644

board/freescale/mpc8569mds/law.c struct law_entry law_table[] = { · line 59

Quoted 6 lines
board/freescale/mpc8569mds/law.c +1 -0
@@ -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

#2 lore raw

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

Quoted 11 lines · Kumar Gala
Quoted 8 lines · Anton Vorontsov

This patch sets memory window for Serial RapidIO on MPC8569E-MDS boards.

---
board/freescale/mpc8569mds/law.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 14 lines

board/freescale/mpc8569mds/law.c struct law_entry law_table[] = { · line 59

Quoted 12 lines
board/freescale/ renamed from board/freescale/mpc8569mds/law.c +0 -0

mpc8569mds/law.c
index e7381aa..60eea45 100644

board/freescale/mpc8569mds/law.c +1 -0
@@ -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,

Signature · 3 lines
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2