summaryrefslogtreecommitdiff
path: root/board/freescale/p2020ds/p2020ds.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-07-24 20:34:29 +0200
committerWolfgang Denk <wd@denx.de>2010-07-24 20:34:29 +0200
commit07c9cd81170335307a3090add3cd37147d29482e (patch)
treee5e98dc33dc17399ad16d85d6df1c36d44e22889 /board/freescale/p2020ds/p2020ds.c
parent8024ac7a61f235b5444eac1ce0271d86e05d04de (diff)
parent96623171423a94092cde80642328fda58a92c894 (diff)
downloadu-boot-imx-07c9cd81170335307a3090add3cd37147d29482e.zip
u-boot-imx-07c9cd81170335307a3090add3cd37147d29482e.tar.gz
u-boot-imx-07c9cd81170335307a3090add3cd37147d29482e.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'board/freescale/p2020ds/p2020ds.c')
-rw-r--r--board/freescale/p2020ds/p2020ds.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/board/freescale/p2020ds/p2020ds.c b/board/freescale/p2020ds/p2020ds.c
index be4b2eb..3fd1b34 100644
--- a/board/freescale/p2020ds/p2020ds.c
+++ b/board/freescale/p2020ds/p2020ds.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2007-2009 Freescale Semiconductor, Inc.
+ * Copyright 2007-2010 Freescale Semiconductor, Inc.
*
* See file CREDITS for list of people who contributed to this
* project.
@@ -366,15 +366,8 @@ void ft_board_setup(void *blob, bd_t *bd)
fdt_fixup_memory(blob, (u64)base, (u64)size);
-#ifdef CONFIG_PCIE3
- ft_fsl_pci_setup(blob, "pci0", &pcie3_hose);
-#endif
-#ifdef CONFIG_PCIE2
- ft_fsl_pci_setup(blob, "pci1", &pcie2_hose);
-#endif
-#ifdef CONFIG_PCIE1
- ft_fsl_pci_setup(blob, "pci2", &pcie1_hose);
-#endif
+ FT_FSL_PCI_SETUP;
+
#ifdef CONFIG_FSL_SGMII_RISER
fsl_sgmii_riser_fdt_fixup(blob);
#endif