diff options
author | Thierry Reding <treding@nvidia.com> | 2014-12-09 22:25:14 -0700 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2014-12-18 13:19:20 -0700 |
commit | 7dd8738f08144b01d91185f250af9ce2648cb25f (patch) | |
tree | 9e912e30431794d15aa51cebe2912c2de649a462 /board/compulab | |
parent | 65d2465d5d4cdb347506438b226b01d6ef0eec79 (diff) | |
download | u-boot-imx-7dd8738f08144b01d91185f250af9ce2648cb25f.zip u-boot-imx-7dd8738f08144b01d91185f250af9ce2648cb25f.tar.gz u-boot-imx-7dd8738f08144b01d91185f250af9ce2648cb25f.tar.bz2 |
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')
-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 723293f..c9da80d 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 |