xref: /openbmc/u-boot/include/configs/galileo.h (revision b4302582)
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_MISC_INIT
19 
20 /* 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 
50 /* 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 
57 /* 10/100M Ethernet support */
58 #define CONFIG_DESIGNWARE_ETH
59 #define CONFIG_DW_ALTDESCRIPTOR
60 #define CONFIG_PHYLIB
61 
62 /* Environment configuration */
63 #define CONFIG_ENV_SECT_SIZE		0x1000
64 #define CONFIG_ENV_OFFSET		0
65 
66 #endif	/* __CONFIG_H */
67