xref: /openbmc/u-boot/include/configs/galileo.h (revision 5910955f)
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 
19 #define CONFIG_X86_SERIAL
20 
21 /* ns16550 UART is memory-mapped in Quark SoC */
22 #undef  CONFIG_SYS_NS16550_PORT_MAPPED
23 
24 #define CONFIG_PCI_MEM_BUS		0x90000000
25 #define CONFIG_PCI_MEM_PHYS		CONFIG_PCI_MEM_BUS
26 #define CONFIG_PCI_MEM_SIZE		0x20000000
27 
28 #define CONFIG_PCI_PREF_BUS		0xb0000000
29 #define CONFIG_PCI_PREF_PHYS		CONFIG_PCI_PREF_BUS
30 #define CONFIG_PCI_PREF_SIZE		0x20000000
31 
32 #define CONFIG_PCI_IO_BUS		0x2000
33 #define CONFIG_PCI_IO_PHYS		CONFIG_PCI_IO_BUS
34 #define CONFIG_PCI_IO_SIZE		0xe000
35 
36 #define CONFIG_SYS_EARLY_PCI_INIT
37 #define CONFIG_PCI_PNP
38 
39 #define CONFIG_STD_DEVICES_SETTINGS	"stdin=serial\0" \
40 					"stdout=serial\0" \
41 					"stderr=serial\0"
42 
43 /* SATA is not supported in Quark SoC */
44 #undef CONFIG_SCSI_AHCI
45 #undef CONFIG_CMD_SCSI
46 
47 /* Video is not supported in Quark SoC */
48 #undef CONFIG_VIDEO
49 #undef CONFIG_CFB_CONSOLE
50 
51 /* SD/MMC support */
52 #define CONFIG_MMC
53 #define CONFIG_SDHCI
54 #define CONFIG_GENERIC_MMC
55 #define CONFIG_MMC_SDMA
56 #define CONFIG_CMD_MMC
57 
58 /* 10/100M Ethernet support */
59 #define CONFIG_DESIGNWARE_ETH
60 #define CONFIG_DW_ALTDESCRIPTOR
61 #define CONFIG_PHYLIB
62 
63 /* Environment configuration */
64 #define CONFIG_ENV_SECT_SIZE		0x1000
65 #define CONFIG_ENV_OFFSET		0
66 
67 #endif	/* __CONFIG_H */
68