mpc85xx: Setup SRIO memory region LAW for MPC8569E-MDS boards
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 15 Oct 2009 13:47:09 +0000 (17:47 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 27 Oct 2009 14:44:37 +0000 (09:44 -0500)
This patch sets memory window for Serial RapidIO on MPC8569E-MDS
boards.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8569mds/law.c

index e7381aae650393f6c19ef8ec48f0ac725d6ae713..60eea45a845be76a1a48d44a92eea2f6756d309a 100644 (file)
@@ -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);