bcm63xx: fix/enable livebox minipci

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>

SVN-Revision: 36523
This commit is contained in:
Jonas Gorski 2013-05-02 15:28:07 +00:00
parent f935d800bf
commit 999a956f4c

View file

@ -18,7 +18,7 @@
+obj-$(CONFIG_BOARD_LIVEBOX) += board_livebox.o +obj-$(CONFIG_BOARD_LIVEBOX) += board_livebox.o
--- /dev/null --- /dev/null
+++ b/arch/mips/bcm63xx/boards/board_livebox.c +++ b/arch/mips/bcm63xx/boards/board_livebox.c
@@ -0,0 +1,368 @@ @@ -0,0 +1,369 @@
+/* +/*
+ * This file is subject to the terms and conditions of the GNU General Public + * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive + * License. See the file "COPYING" in the main directory of this archive
@ -228,6 +228,7 @@
+ +
+#ifdef CONFIG_PCI +#ifdef CONFIG_PCI
+ if (board.has_pci) { + if (board.has_pci) {
+ bcm63xx_pci_enabled = 1;
+ if (BCMCPU_IS_6348()) + if (BCMCPU_IS_6348())
+ val |= GPIO_MODE_6348_G2_PCI; + val |= GPIO_MODE_6348_G2_PCI;
+ } + }