summaryrefslogtreecommitdiff
path: root/board/emulation/qemu-x86/qemu-x86.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-05-07 13:34:08 (GMT)
committerSimon Glass <sjg@chromium.org>2015-06-04 08:39:38 (GMT)
commita65b25d148fb0a9ef7dd5fba4ae2709f5bcae0c6 (patch)
treeddbf28ac4f0a34f5c8b62b80f59a0a93db645a01 /board/emulation/qemu-x86/qemu-x86.c
parent238fe16c40f640e5b78828b21990a0565f408813 (diff)
downloadu-boot-fsl-qoriq-a65b25d148fb0a9ef7dd5fba4ae2709f5bcae0c6.tar.xz
x86: Support QEMU x86 targets
This commit introduces the initial U-Boot support for QEMU x86 targets. U-Boot can boot from coreboot as a payload, or directly without coreboot. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Merged in patch 'x86: qemu: Add CMD_NET to qemu-x86_defconfig https://patchwork.ozlabs.org/patch/479745/
Diffstat (limited to 'board/emulation/qemu-x86/qemu-x86.c')
-rw-r--r--board/emulation/qemu-x86/qemu-x86.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/emulation/qemu-x86/qemu-x86.c b/board/emulation/qemu-x86/qemu-x86.c
new file mode 100644
index 0000000..fedea81
--- /dev/null
+++ b/board/emulation/qemu-x86/qemu-x86.c
@@ -0,0 +1,13 @@
+/*
+ * 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);
+}