summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-08-26 17:34:12 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2014-10-11 01:11:19 +0200
commitad79c97c11a5d65475f8fe5e34fcd2086a63629e (patch)
tree030b2b2d909e192792e2581f8f4b6d48c80839f8 /board
parentd3ad1ef50b63f401f8ddd66487ef0ce7f185ee82 (diff)
ARM: tegra: Enable PCIe on TrimSlice
The TrimSlice has an ethernet NIC connected to the PCIe bus. Enable the PCIe controller and the network driver so that the device can boot over the network. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'board')
-rw-r--r--board/compulab/trimslice/trimslice.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/compulab/trimslice/trimslice.c b/board/compulab/trimslice/trimslice.c
index 723293fef3..c9da80d5eb 100644
--- a/board/compulab/trimslice/trimslice.c
+++ b/board/compulab/trimslice/trimslice.c
@@ -13,6 +13,7 @@
#include <asm/arch/pinmux.h>
#include <asm/gpio.h>
#include <i2c.h>
+#include <netdev.h>
void pin_mux_usb(void)
{
@@ -40,3 +41,10 @@ void pin_mux_mmc(void)
/* For CD GPIO PP1 */
pinmux_tristate_disable(PMUX_PINGRP_DAP3);
}
+
+#ifdef CONFIG_PCI
+int board_eth_init(bd_t *bis)
+{
+ return pci_eth_init(bis);
+}
+#endif