]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/qemu-x86.h
x86: qemu: Add graphics support
[karo-tx-uboot.git] / include / configs / qemu-x86.h
1 /*
2  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 /*
8  * board/config.h - configuration options, board specific
9  */
10
11 #ifndef __CONFIG_H
12 #define __CONFIG_H
13
14 #include <configs/x86-common.h>
15
16 #define CONFIG_SYS_MONITOR_LEN          (1 << 20)
17
18 #define CONFIG_X86_SERIAL
19
20 #define CONFIG_PCI_MEM_BUS              0xc0000000
21 #define CONFIG_PCI_MEM_PHYS             CONFIG_PCI_MEM_BUS
22 #define CONFIG_PCI_MEM_SIZE             0x10000000
23
24 #define CONFIG_PCI_PREF_BUS             0xd0000000
25 #define CONFIG_PCI_PREF_PHYS            CONFIG_PCI_PREF_BUS
26 #define CONFIG_PCI_PREF_SIZE            0x10000000
27
28 #define CONFIG_PCI_IO_BUS               0x2000
29 #define CONFIG_PCI_IO_PHYS              CONFIG_PCI_IO_BUS
30 #define CONFIG_PCI_IO_SIZE              0xe000
31
32 #define CONFIG_PCI_PNP
33 #define CONFIG_E1000
34
35 #define CONFIG_STD_DEVICES_SETTINGS     "stdin=serial,vga\0" \
36                                         "stdout=serial,vga\0" \
37                                         "stderr=serial,vga\0"
38
39 #define CONFIG_SCSI_DEV_LIST            \
40         {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371SB_1}
41
42 /* GPIO is not supported */
43 #undef CONFIG_INTEL_ICH6_GPIO
44 #undef CONFIG_CMD_GPIO
45
46 /* SPI is not supported */
47 #undef CONFIG_ICH_SPI
48 #undef CONFIG_ENV_IS_IN_SPI_FLASH
49 #define CONFIG_ENV_IS_NOWHERE
50
51 #endif  /* __CONFIG_H */