blob: b927b1c9f54837e2897067fcd33c6549886898cf [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
18
Bin Meng405d8202014-12-17 15:50:41 +080019#define CONFIG_NR_DRAM_BANKS 1
20
Bin Meng41702ba2014-12-17 15:50:47 +080021#define CONFIG_X86_SERIAL
Bin Meng405d8202014-12-17 15:50:41 +080022#define CONFIG_SMSC_LPC47M
23
24#define CONFIG_PCI_MEM_BUS 0x40000000
25#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
26#define CONFIG_PCI_MEM_SIZE 0x80000000
27
28#define CONFIG_PCI_PREF_BUS 0xc0000000
29#define CONFIG_PCI_PREF_PHYS CONFIG_PCI_PREF_BUS
30#define CONFIG_PCI_PREF_SIZE 0x20000000
31
32#define CONFIG_PCI_IO_BUS 0x2000
33#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
34#define CONFIG_PCI_IO_SIZE 0xe000
35
36#define CONFIG_SYS_EARLY_PCI_INIT
37#define CONFIG_PCI_PNP
Bin Meng0ff65eb2014-12-17 15:50:45 +080038#define CONFIG_E1000
Bin Meng405d8202014-12-17 15:50:41 +080039
40#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
41 "stdout=serial\0" \
42 "stderr=serial\0"
43
44#define CONFIG_SCSI_DEV_LIST \
45 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SATA}
46
Bin Mengadfe3b22014-12-17 15:50:44 +080047#define CONFIG_SPI_FLASH_SST
48
Bin Mengaada6272014-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 Meng405d8202014-12-17 15:50:41 +080055/* Video is not supported */
56#undef CONFIG_VIDEO
57#undef CONFIG_CFB_CONSOLE
58
59#endif /* __CONFIG_H */