summaryrefslogtreecommitdiff
path: root/board/compulab/trimslice/trimslice.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/compulab/trimslice/trimslice.c')
-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