blob: 14a42b1d400453c41ff530536a955f1a528dd945 [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 Meng2afb6232015-09-11 03:24:37 -070018#define CONFIG_ARCH_EARLY_INIT_R
Bin Meng05b98ec2015-05-25 22:35:06 +080019#define CONFIG_ARCH_MISC_INIT
Bin Mengafee3fb2015-02-02 22:35:28 +080020
Bin Mengafee3fb2015-02-02 22:35:28 +080021/* ns16550 UART is memory-mapped in Quark SoC */
22#undef CONFIG_SYS_NS16550_PORT_MAPPED
23
Bin Mengafee3fb2015-02-02 22:35:28 +080024#define CONFIG_PCI_PNP
25
26#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
27 "stdout=serial\0" \
28 "stderr=serial\0"
29
30/* SATA is not supported in Quark SoC */
31#undef CONFIG_SCSI_AHCI
32#undef CONFIG_CMD_SCSI
33
34/* Video is not supported in Quark SoC */
35#undef CONFIG_VIDEO
36#undef CONFIG_CFB_CONSOLE
37
Bin Meng6df7ffe2015-02-04 16:26:13 +080038/* SD/MMC support */
39#define CONFIG_MMC
40#define CONFIG_SDHCI
41#define CONFIG_GENERIC_MMC
42#define CONFIG_MMC_SDMA
43#define CONFIG_CMD_MMC
44
Bin Menge4ad6032015-03-11 11:25:56 +080045/* 10/100M Ethernet support */
46#define CONFIG_DESIGNWARE_ETH
47#define CONFIG_DW_ALTDESCRIPTOR
Bin Menge4ad6032015-03-11 11:25:56 +080048
Bin Mengbea59392015-03-11 17:22:29 +080049/* Environment configuration */
Bin Mengbea59392015-03-11 17:22:29 +080050#define CONFIG_ENV_SECT_SIZE 0x1000
51#define CONFIG_ENV_OFFSET 0
52
Bin Mengafee3fb2015-02-02 22:35:28 +080053#endif /* __CONFIG_H */