public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 01/28] driver/pci: Fix compiling error
@ 2012-10-08 17:44 York Sun
  2012-10-08 17:44 ` [U-Boot] [PATCH 02/28] powerpc/DPAA: " York Sun
                   ` (26 more replies)
  0 siblings, 27 replies; 31+ messages in thread
From: York Sun @ 2012-10-08 17:44 UTC (permalink / raw)
  To: u-boot

Fix compiling error in case CONFIG_SYS_PCIE2_MEM_VIRT or CONFIG_SYS_PCIE3_MEM_VIRT
not defined.

Signed-off-by: York Sun <yorksun@freescale.com>
---
 drivers/pci/fsl_pci_init.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/pci/fsl_pci_init.c b/drivers/pci/fsl_pci_init.c
index 0d46c96..1cf6158 100644
--- a/drivers/pci/fsl_pci_init.c
+++ b/drivers/pci/fsl_pci_init.c
@@ -276,14 +276,18 @@ static void fsl_pcie_boot_master_release_slave(int port)
 		release_addr = CONFIG_SYS_PCIE1_MEM_VIRT
 			+ CONFIG_SRIO_PCIE_BOOT_BRR_OFFSET;
 		break;
+#ifdef CONFIG_SYS_PCIE2_MEM_VIRT
 	case 2:
 		release_addr = CONFIG_SYS_PCIE2_MEM_VIRT
 			+ CONFIG_SRIO_PCIE_BOOT_BRR_OFFSET;
 		break;
+#endif
+#ifdef CONFIG_SYS_PCIE3_MEM_VIRT
 	case 3:
 		release_addr = CONFIG_SYS_PCIE3_MEM_VIRT
 			+ CONFIG_SRIO_PCIE_BOOT_BRR_OFFSET;
 		break;
+#endif
 	default:
 		release_addr = 0;
 		break;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2012-10-24  1:40 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-08 17:44 [U-Boot] [PATCH 01/28] driver/pci: Fix compiling error York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 02/28] powerpc/DPAA: " York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 03/28] powerpc/85xx: Add determining and report IFC frequency York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 04/28] powerpc/mpc85xx: Introduce new macros to add and delete TLB entries York Sun
2012-10-22  9:14   ` Andy Fleming
2012-10-22 16:16     ` York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 05/28] powerpc/mpc85xx: Enable L2 at the beginning of U-boot for E6500 York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 06/28] powerpc/mpc85xx: change RCW MEM_PLL_PLAT for Chassis generation 2 York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 07/28] powerpc/mpc85xx: check number of cores York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 08/28] powerpc/mpc85xx: Fix core cluster PLL calculation for Chassis generation 2 York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 09/28] powerpc/mpc85xx: expand SERDES reference clock select bit York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 10/28] powerpc/e6500: Move QCSP registers for QMan v3 York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 11/28] powerpc/mpc85xx: Add RCW bits and registers for SerDes for corenet2 York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 12/28] powerpc/corenet2: Add " York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 13/28] powerpc/corenet2: fix mismatch DDR sync bit from RCW York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 14/28] board/freescale/common: VSC3316/VSC3308 initialization code York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 15/28] powerpc/mpc85xx: Add T4 device definitions York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 16/28] powerpc/mpc85xx: Add T4240 SoC York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 17/28] powerpc/mpc85xx: Add B4860 and variant SoCs York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 18/28] fm/mEMAC: add mEMAC frame work York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 19/28] powerpc/mpc8xxx: Update DDR registers York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 20/28] powerpc/mpc8xxx: Fix DDR driver handling quad-rank DIMMs and address calculation York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 21/28] powerpc/mpc8xxx: Fix DDR initialization waiting for D_INIT York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 22/28] powerpc/mpc85xx: software workaround for DDR erratum A-004468 York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 23/28] powerpc/mpc85xx: Add workaround for DDR erratum A004934 York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 24/28] powerpc/mpc8xxx: Add auto select bank interleaving mode York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 25/28] powerpc/mpc8xxx: Fix DDR SPD failed message York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 26/28] powerpc/mpc85xx: Remove R6 from spin table York Sun
2012-10-08 17:44 ` [U-Boot] [PATCH 27/28] powerpc/mpc85xx: Rewrite spin table to comply with ePAPR v1.1 York Sun
2012-10-24  1:40   ` Scott Wood
2012-10-08 17:44 ` [U-Boot] [PATCH 28/28] powerpc/mpc85xx: Add CONFIG_DDR_CLK_FREQ for corenet platform York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox