blob: 6cf53a3e42a64d32d4c5b099220514df2e22a734 [file] [log] [blame]
Bin Mengef4dc7e2014-12-17 15:50:41 +08001/*
2 * Copyright (C) 2014, 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)
Bin Mengef4dc7e2014-12-17 15:50:41 +080017#define CONFIG_BOARD_EARLY_INIT_F
Bin Meng15305362015-04-24 18:10:06 +080018#define CONFIG_ARCH_MISC_INIT
Bin Mengef4dc7e2014-12-17 15:50:41 +080019
Bin Meng7bb2c3c2014-12-17 15:50:47 +080020#define CONFIG_X86_SERIAL
Bin Mengef4dc7e2014-12-17 15:50:41 +080021#define CONFIG_SMSC_LPC47M
22
23#define CONFIG_PCI_MEM_BUS 0x40000000
24#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
25#define CONFIG_PCI_MEM_SIZE 0x80000000
26
27#define CONFIG_PCI_PREF_BUS 0xc0000000
28#define CONFIG_PCI_PREF_PHYS CONFIG_PCI_PREF_BUS
29#define CONFIG_PCI_PREF_SIZE 0x20000000
30
31#define CONFIG_PCI_IO_BUS 0x2000
32#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
33#define CONFIG_PCI_IO_SIZE 0xe000
34
Bin Meng45e3e812015-07-06 16:31:35 +080035#define CONFIG_PCI_CONFIG_HOST_BRIDGE
Bin Mengef4dc7e2014-12-17 15:50:41 +080036#define CONFIG_SYS_EARLY_PCI_INIT
37#define CONFIG_PCI_PNP
Bin Mengee18d642014-12-17 15:50:45 +080038#define CONFIG_E1000
Bin Mengef4dc7e2014-12-17 15:50:41 +080039
Bin Meng45e3e812015-07-06 16:31:35 +080040#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,vga,usbkbd\0" \
41 "stdout=serial,vga\0" \
42 "stderr=serial,vga\0"
Bin Mengef4dc7e2014-12-17 15:50:41 +080043
Bin Meng45e3e812015-07-06 16:31:35 +080044#define CONFIG_SCSI_DEV_LIST \
Bin Mengef4dc7e2014-12-17 15:50:41 +080045 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SATA}
46
Bin Mengb8b44402014-12-17 15:50:44 +080047#define CONFIG_SPI_FLASH_SST
48
Bin Meng8046aa82014-12-17 15:50:46 +080049#define CONFIG_MMC
50#define CONFIG_SDHCI
51#define CONFIG_GENERIC_MMC
52#define CONFIG_MMC_SDMA
53#define CONFIG_CMD_MMC
54
Bin Meng371a7042015-03-20 17:12:21 +080055/* Topcliff Gigabit Ethernet */
56#define CONFIG_PCH_GBE
57#define CONFIG_PHYLIB
58
Bin Meng45e3e812015-07-06 16:31:35 +080059/* TunnelCreek IGD support */
60#define CONFIG_VGA_AS_SINGLE_DEVICE
Bin Mengef4dc7e2014-12-17 15:50:41 +080061
Bin Mengb089fa42015-03-11 17:22:28 +080062/* Environment configuration */
Bin Mengb089fa42015-03-11 17:22:28 +080063#define CONFIG_ENV_SECT_SIZE 0x1000
64#define CONFIG_ENV_OFFSET 0
65
Bin Mengef4dc7e2014-12-17 15:50:41 +080066#endif /* __CONFIG_H */