summaryrefslogtreecommitdiffstats
path: root/board/emulation
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-11-06 02:04:52 -0800
committerBin Meng <bmeng.cn@gmail.com>2015-11-13 06:46:24 -0800
commit6af2966d170803c460e346263036778ad474e9cb (patch)
tree117be9901a8d23badc3ac15d5e028989dc602ae2 /board/emulation
parentfdc0d951a9e2954ace2340e6a4eb719d8f7d4892 (diff)
downloadtalos-obmc-uboot-6af2966d170803c460e346263036778ad474e9cb.tar.gz
talos-obmc-uboot-6af2966d170803c460e346263036778ad474e9cb.zip
x86: qemu: Convert to use driver model eth
Move to driver model for ETH (e1000) on QEMU. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/emulation')
-rw-r--r--board/emulation/qemu-x86/Makefile2
-rw-r--r--board/emulation/qemu-x86/qemu-x86.c13
2 files changed, 1 insertions, 14 deletions
diff --git a/board/emulation/qemu-x86/Makefile b/board/emulation/qemu-x86/Makefile
index ad2bbb94a2..a855255be3 100644
--- a/board/emulation/qemu-x86/Makefile
+++ b/board/emulation/qemu-x86/Makefile
@@ -4,4 +4,4 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-y += qemu-x86.o start.o
+obj-y += start.o
diff --git a/board/emulation/qemu-x86/qemu-x86.c b/board/emulation/qemu-x86/qemu-x86.c
deleted file mode 100644
index fedea81abc..0000000000
--- a/board/emulation/qemu-x86/qemu-x86.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#include <common.h>
-#include <netdev.h>
-
-int board_eth_init(bd_t *bis)
-{
- return pci_eth_init(bis);
-}
OpenPOWER on IntegriCloud