summaryrefslogtreecommitdiff
path: root/board/freescale/p2041rdb/pci.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-08-30 17:40:11 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-09-29 19:01:06 -0500
commitf8bc7bb5a79b392db3af9f62b63caefab8afbc31 (patch)
tree9ee756eebfdcab351f4a00a52fa4505b5e2f0feb /board/freescale/p2041rdb/pci.c
parent360275b362e50f480b09c7c8770019ea4287afad (diff)
downloadu-boot-imx-f8bc7bb5a79b392db3af9f62b63caefab8afbc31.zip
u-boot-imx-f8bc7bb5a79b392db3af9f62b63caefab8afbc31.tar.gz
u-boot-imx-f8bc7bb5a79b392db3af9f62b63caefab8afbc31.tar.bz2
powerpc/85xx: Refactor P2041RDB to use common p_corenet files
The P2041RDB has almost identical setup for TLB, LAWS, and PCI with other P-Series CoreNet platforms. The only difference between P2041RDB & P3041DS/P4080DS/P5020DS is the CPLD vs PIXIS FPGA which we can handle via some simple #ifdefs in the TLB and LAW setup tables. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/p2041rdb/pci.c')
-rw-r--r--board/freescale/p2041rdb/pci.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/board/freescale/p2041rdb/pci.c b/board/freescale/p2041rdb/pci.c
deleted file mode 100644
index 1ab4cdf..0000000
--- a/board/freescale/p2041rdb/pci.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright 2011 Freescale Semiconductor, Inc.
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
-
-#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;
-}