Bin Meng | 8d6ed12 | 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) |
Bin Meng | 8d6ed12 | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 17 | |
Bin Meng | 8d6ed12 | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 18 | /* ns16550 UART is memory-mapped in Quark SoC */ |
| 19 | #undef CONFIG_SYS_NS16550_PORT_MAPPED |
| 20 | |
Bin Meng | 8d6ed12 | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 21 | #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \ |
| 22 | "stdout=serial\0" \ |
| 23 | "stderr=serial\0" |
| 24 | |
| 25 | /* SATA is not supported in Quark SoC */ |
| 26 | #undef CONFIG_SCSI_AHCI |
Bin Meng | 8d6ed12 | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 27 | |
Bin Meng | 7e96d31 | 2015-03-11 11:25:56 +0800 | [diff] [blame] | 28 | /* 10/100M Ethernet support */ |
| 29 | #define CONFIG_DESIGNWARE_ETH |
| 30 | #define CONFIG_DW_ALTDESCRIPTOR |
Bin Meng | 7e96d31 | 2015-03-11 11:25:56 +0800 | [diff] [blame] | 31 | |
Bin Meng | 7119ba7 | 2015-03-11 17:22:29 +0800 | [diff] [blame] | 32 | /* Environment configuration */ |
Bin Meng | 7119ba7 | 2015-03-11 17:22:29 +0800 | [diff] [blame] | 33 | #define CONFIG_ENV_SECT_SIZE 0x1000 |
| 34 | #define CONFIG_ENV_OFFSET 0 |
| 35 | |
Bin Meng | 8d6ed12 | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 36 | #endif /* __CONFIG_H */ |