xref: /openbmc/u-boot/include/configs/galileo.h (revision ec90ac73)
1 /*
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
18 #define CONFIG_ARCH_EARLY_INIT_R
19 #define CONFIG_ARCH_MISC_INIT
20 
21 /* ns16550 UART is memory-mapped in Quark SoC */
22 #undef  CONFIG_SYS_NS16550_PORT_MAPPED
23 
24 #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_SCSI
33 
34 /* SD/MMC support */
35 #define CONFIG_MMC
36 #define CONFIG_SDHCI
37 #define CONFIG_GENERIC_MMC
38 #define CONFIG_MMC_SDMA
39 
40 /* 10/100M Ethernet support */
41 #define CONFIG_DESIGNWARE_ETH
42 #define CONFIG_DW_ALTDESCRIPTOR
43 
44 /* Environment configuration */
45 #define CONFIG_ENV_SECT_SIZE		0x1000
46 #define CONFIG_ENV_OFFSET		0
47 
48 #endif	/* __CONFIG_H */
49