blob: 6d25035d134d2af25fe4a02501d25f49aec39cf6 [file] [log] [blame]
Bin Meng8d6ed122015-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 Meng4e19d7c2015-09-11 03:24:37 -070018#define CONFIG_ARCH_EARLY_INIT_R
Bin Mengef9e9f92015-05-25 22:35:06 +080019#define CONFIG_ARCH_MISC_INIT
Bin Meng8d6ed122015-02-02 22:35:28 +080020
Bin Meng8d6ed122015-02-02 22:35:28 +080021/* ns16550 UART is memory-mapped in Quark SoC */
22#undef CONFIG_SYS_NS16550_PORT_MAPPED
23
Bin Meng8d6ed122015-02-02 22:35:28 +080024#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
25 "stdout=serial\0" \
26 "stderr=serial\0"
27
28/* SATA is not supported in Quark SoC */
29#undef CONFIG_SCSI_AHCI
Simon Glass8706b812016-05-01 11:36:02 -060030#undef CONFIG_SCSI
Bin Meng8d6ed122015-02-02 22:35:28 +080031
Bin Mengd79593b2015-02-04 16:26:13 +080032/* SD/MMC support */
33#define CONFIG_MMC
34#define CONFIG_SDHCI
35#define CONFIG_GENERIC_MMC
36#define CONFIG_MMC_SDMA
Bin Mengd79593b2015-02-04 16:26:13 +080037
Bin Meng7e96d312015-03-11 11:25:56 +080038/* 10/100M Ethernet support */
39#define CONFIG_DESIGNWARE_ETH
40#define CONFIG_DW_ALTDESCRIPTOR
Bin Meng7e96d312015-03-11 11:25:56 +080041
Bin Meng7119ba72015-03-11 17:22:29 +080042/* Environment configuration */
Bin Meng7119ba72015-03-11 17:22:29 +080043#define CONFIG_ENV_SECT_SIZE 0x1000
44#define CONFIG_ENV_OFFSET 0
45
Bin Meng8d6ed122015-02-02 22:35:28 +080046#endif /* __CONFIG_H */