diff options
author | Thierry Reding | 2014-12-09 22:25:14 -0700 |
---|---|---|
committer | Tom Warren | 2014-12-18 13:19:20 -0700 |
commit | 7dd8738f08144b01d91185f250af9ce2648cb25f (patch) | |
tree | 9e912e30431794d15aa51cebe2912c2de649a462 /board/compulab/trimslice | |
parent | 65d2465d5d4cdb347506438b226b01d6ef0eec79 (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>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/compulab/trimslice')
-rw-r--r-- | board/compulab/trimslice/trimslice.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/compulab/trimslice/trimslice.c b/board/compulab/trimslice/trimslice.c index 723293fef35..c9da80d5eb1 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 |