summaryrefslogtreecommitdiffstats
path: root/board/freescale/t4rdb/pci.c
diff options
context:
space:
mode:
authorChunhe Lan <Chunhe.Lan@freescale.com>2014-04-14 18:42:06 +0800
committerYork Sun <yorksun@freescale.com>2014-05-13 08:24:32 -0700
commit0b2e13d9ccbe56e32dc674cf896b2fb55684368c (patch)
treea41d9efce6c5a1fb70f580ef0014f14fb0a970e1 /board/freescale/t4rdb/pci.c
parent652e29b4a0d5ff418a4f1a633912976cd7331758 (diff)
downloadtalos-obmc-uboot-0b2e13d9ccbe56e32dc674cf896b2fb55684368c.tar.gz
talos-obmc-uboot-0b2e13d9ccbe56e32dc674cf896b2fb55684368c.zip
powerpc/85xx: Add T4240RDB board support
T4240RDB board Specification ---------------------------- Memory subsystem: 6GB DDR3 128MB NOR flash 2GB NAND flash Ethernet: Eight 1G SGMII ports Four 10Gbps SFP+ ports PCIe: Two PCIe slots USB: Two USB2.0 Type A ports SDHC: One SD-card port SATA: One SATA port UART: Dual RJ45 ports Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com> [York Sun: fix CONFIG_SYS_QE_FMAN_FW_ADDR in T4240RDB.h]
Diffstat (limited to 'board/freescale/t4rdb/pci.c')
-rw-r--r--board/freescale/t4rdb/pci.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/board/freescale/t4rdb/pci.c b/board/freescale/t4rdb/pci.c
new file mode 100644
index 0000000000..6387a20cae
--- /dev/null
+++ b/board/freescale/t4rdb/pci.c
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2014 Freescale Semiconductor, Inc.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+#include <command.h>
+#include <pci.h>
+#include <asm/fsl_pci.h>
+#include <libfdt.h>
+#include <fdt_support.h>
+#include <asm/fsl_serdes.h>
+
+void pci_init_board(void)
+{
+ fsl_pcie_init_board(0);
+}
+
+void pci_of_setup(void *blob, bd_t *bd)
+{
+ FT_FSL_PCI_SETUP;
+}
OpenPOWER on IntegriCloud