blob: 3c3c6e9d543e11d1244bd72901d9de598bfe52a9 [file] [log] [blame]
Bin Mengafee3fb2015-02-02 22:35:28 +08001/*
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#define CONFIG_BOARD_EARLY_INIT_F
Bin Meng05b98ec2015-05-25 22:35:06 +080018#define CONFIG_ARCH_MISC_INIT
Bin Mengafee3fb2015-02-02 22:35:28 +080019
Bin Mengafee3fb2015-02-02 22:35:28 +080020/* ns16550 UART is memory-mapped in Quark SoC */
21#undef CONFIG_SYS_NS16550_PORT_MAPPED
22
23#define CONFIG_PCI_MEM_BUS 0x90000000
24#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
25#define CONFIG_PCI_MEM_SIZE 0x20000000
26
27#define CONFIG_PCI_PREF_BUS 0xb0000000
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
35#define CONFIG_SYS_EARLY_PCI_INIT
36#define CONFIG_PCI_PNP
37
38#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
39 "stdout=serial\0" \
40 "stderr=serial\0"
41
42/* SATA is not supported in Quark SoC */
43#undef CONFIG_SCSI_AHCI
44#undef CONFIG_CMD_SCSI
45
46/* Video is not supported in Quark SoC */
47#undef CONFIG_VIDEO
48#undef CONFIG_CFB_CONSOLE
49
Bin Meng6df7ffe2015-02-04 16:26:13 +080050/* SD/MMC support */
51#define CONFIG_MMC
52#define CONFIG_SDHCI
53#define CONFIG_GENERIC_MMC
54#define CONFIG_MMC_SDMA
55#define CONFIG_CMD_MMC
56
Bin Menge4ad6032015-03-11 11:25:56 +080057/* 10/100M Ethernet support */
58#define CONFIG_DESIGNWARE_ETH
59#define CONFIG_DW_ALTDESCRIPTOR
60#define CONFIG_PHYLIB
61
Bin Mengbea59392015-03-11 17:22:29 +080062/* Environment configuration */
Bin Mengbea59392015-03-11 17:22:29 +080063#define CONFIG_ENV_SECT_SIZE 0x1000
64#define CONFIG_ENV_OFFSET 0
65
Bin Mengafee3fb2015-02-02 22:35:28 +080066#endif /* __CONFIG_H */