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