Bin Meng | afee3fb | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 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 |
Bin Meng | 2afb623 | 2015-09-11 03:24:37 -0700 | [diff] [blame] | 18 | #define CONFIG_ARCH_EARLY_INIT_R |
Bin Meng | 05b98ec | 2015-05-25 22:35:06 +0800 | [diff] [blame] | 19 | #define CONFIG_ARCH_MISC_INIT |
Bin Meng | afee3fb | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 20 | |
Bin Meng | afee3fb | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 21 | /* ns16550 UART is memory-mapped in Quark SoC */ |
| 22 | #undef CONFIG_SYS_NS16550_PORT_MAPPED |
| 23 | |
Bin Meng | afee3fb | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 24 | #define CONFIG_SYS_EARLY_PCI_INIT |
| 25 | #define CONFIG_PCI_PNP |
| 26 | |
| 27 | #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \ |
| 28 | "stdout=serial\0" \ |
| 29 | "stderr=serial\0" |
| 30 | |
| 31 | /* SATA is not supported in Quark SoC */ |
| 32 | #undef CONFIG_SCSI_AHCI |
| 33 | #undef CONFIG_CMD_SCSI |
| 34 | |
| 35 | /* Video is not supported in Quark SoC */ |
| 36 | #undef CONFIG_VIDEO |
| 37 | #undef CONFIG_CFB_CONSOLE |
| 38 | |
Bin Meng | 6df7ffe | 2015-02-04 16:26:13 +0800 | [diff] [blame] | 39 | /* SD/MMC support */ |
| 40 | #define CONFIG_MMC |
| 41 | #define CONFIG_SDHCI |
| 42 | #define CONFIG_GENERIC_MMC |
| 43 | #define CONFIG_MMC_SDMA |
| 44 | #define CONFIG_CMD_MMC |
| 45 | |
Bin Meng | e4ad603 | 2015-03-11 11:25:56 +0800 | [diff] [blame] | 46 | /* 10/100M Ethernet support */ |
| 47 | #define CONFIG_DESIGNWARE_ETH |
| 48 | #define CONFIG_DW_ALTDESCRIPTOR |
| 49 | #define CONFIG_PHYLIB |
| 50 | |
Bin Meng | bea5939 | 2015-03-11 17:22:29 +0800 | [diff] [blame] | 51 | /* Environment configuration */ |
Bin Meng | bea5939 | 2015-03-11 17:22:29 +0800 | [diff] [blame] | 52 | #define CONFIG_ENV_SECT_SIZE 0x1000 |
| 53 | #define CONFIG_ENV_OFFSET 0 |
| 54 | |
Bin Meng | afee3fb | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 55 | #endif /* __CONFIG_H */ |