blob: 1ea320bcb575e89e8f89a542d24d6895b10b4f83 [file] [log] [blame]
Bin Meng405d8202014-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 Meng405d8202014-12-17 15:50:41 +080017#define CONFIG_BOARD_EARLY_INIT_F
Bin Mengafbf1402015-04-24 18:10:06 +080018#define CONFIG_ARCH_MISC_INIT
Bin Meng405d8202014-12-17 15:50:41 +080019
Bin Meng405d8202014-12-17 15:50:41 +080020#define CONFIG_SMSC_LPC47M
21
22#define CONFIG_PCI_MEM_BUS 0x40000000
23#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
24#define CONFIG_PCI_MEM_SIZE 0x80000000
25
26#define CONFIG_PCI_PREF_BUS 0xc0000000
27#define CONFIG_PCI_PREF_PHYS CONFIG_PCI_PREF_BUS
28#define CONFIG_PCI_PREF_SIZE 0x20000000
29
30#define CONFIG_PCI_IO_BUS 0x2000
31#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
32#define CONFIG_PCI_IO_SIZE 0xe000
33
Bin Meng7aaff9b2015-07-06 16:31:35 +080034#define CONFIG_PCI_CONFIG_HOST_BRIDGE
Bin Meng405d8202014-12-17 15:50:41 +080035#define CONFIG_SYS_EARLY_PCI_INIT
36#define CONFIG_PCI_PNP
Bin Meng0ff65eb2014-12-17 15:50:45 +080037#define CONFIG_E1000
Bin Meng405d8202014-12-17 15:50:41 +080038
Bin Meng7aaff9b2015-07-06 16:31:35 +080039#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,vga,usbkbd\0" \
40 "stdout=serial,vga\0" \
41 "stderr=serial,vga\0"
Bin Meng405d8202014-12-17 15:50:41 +080042
Bin Meng7aaff9b2015-07-06 16:31:35 +080043#define CONFIG_SCSI_DEV_LIST \
Bin Meng405d8202014-12-17 15:50:41 +080044 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SATA}
45
Bin Mengadfe3b22014-12-17 15:50:44 +080046#define CONFIG_SPI_FLASH_SST
47
Bin Mengaada6272014-12-17 15:50:46 +080048#define CONFIG_MMC
49#define CONFIG_SDHCI
50#define CONFIG_GENERIC_MMC
51#define CONFIG_MMC_SDMA
52#define CONFIG_CMD_MMC
53
Bin Menga84134f2015-03-20 17:12:21 +080054/* Topcliff Gigabit Ethernet */
55#define CONFIG_PCH_GBE
56#define CONFIG_PHYLIB
57
Bin Meng7aaff9b2015-07-06 16:31:35 +080058/* TunnelCreek IGD support */
59#define CONFIG_VGA_AS_SINGLE_DEVICE
Bin Meng405d8202014-12-17 15:50:41 +080060
Bin Mengfba02d62015-03-11 17:22:28 +080061/* Environment configuration */
Bin Mengfba02d62015-03-11 17:22:28 +080062#define CONFIG_ENV_SECT_SIZE 0x1000
63#define CONFIG_ENV_OFFSET 0
64
Bin Meng405d8202014-12-17 15:50:41 +080065#endif /* __CONFIG_H */