aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/board/freescale/p1_p2_rdb/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/board/freescale/p1_p2_rdb/pci.c')
-rw-r--r--roms/u-boot/board/freescale/p1_p2_rdb/pci.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/roms/u-boot/board/freescale/p1_p2_rdb/pci.c b/roms/u-boot/board/freescale/p1_p2_rdb/pci.c
new file mode 100644
index 00000000..745ebb15
--- /dev/null
+++ b/roms/u-boot/board/freescale/p1_p2_rdb/pci.c
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2009-2010 Freescale Semiconductor, Inc.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+#include <command.h>
+#include <pci.h>
+#include <asm/immap_85xx.h>
+#include <asm/fsl_serdes.h>
+#include <asm/io.h>
+#include <asm/fsl_pci.h>
+#include <libfdt.h>
+#include <fdt_support.h>
+
+DECLARE_GLOBAL_DATA_PTR;
+
+void pci_init_board(void)
+{
+ fsl_pcie_init_board(0);
+}
+
+void ft_pci_board_setup(void *blob)
+{
+ FT_FSL_PCI_SETUP;
+}