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) |
| 17 | #define CONFIG_BOARD_EARLY_INIT_F |
Bin Meng | ef9e9f9 | 2015-05-25 22:35:06 +0800 | [diff] [blame^] | 18 | #define CONFIG_ARCH_MISC_INIT |
Bin Meng | 8d6ed12 | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 19 | |
Bin Meng | 8d6ed12 | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 20 | #define CONFIG_X86_SERIAL |
| 21 | |
| 22 | /* ns16550 UART is memory-mapped in Quark SoC */ |
| 23 | #undef CONFIG_SYS_NS16550_PORT_MAPPED |
| 24 | |
| 25 | #define CONFIG_PCI_MEM_BUS 0x90000000 |
| 26 | #define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS |
| 27 | #define CONFIG_PCI_MEM_SIZE 0x20000000 |
| 28 | |
| 29 | #define CONFIG_PCI_PREF_BUS 0xb0000000 |
| 30 | #define CONFIG_PCI_PREF_PHYS CONFIG_PCI_PREF_BUS |
| 31 | #define CONFIG_PCI_PREF_SIZE 0x20000000 |
| 32 | |
| 33 | #define CONFIG_PCI_IO_BUS 0x2000 |
| 34 | #define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS |
| 35 | #define CONFIG_PCI_IO_SIZE 0xe000 |
| 36 | |
| 37 | #define CONFIG_SYS_EARLY_PCI_INIT |
| 38 | #define CONFIG_PCI_PNP |
| 39 | |
| 40 | #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \ |
| 41 | "stdout=serial\0" \ |
| 42 | "stderr=serial\0" |
| 43 | |
| 44 | /* SATA is not supported in Quark SoC */ |
| 45 | #undef CONFIG_SCSI_AHCI |
| 46 | #undef CONFIG_CMD_SCSI |
| 47 | |
| 48 | /* Video is not supported in Quark SoC */ |
| 49 | #undef CONFIG_VIDEO |
| 50 | #undef CONFIG_CFB_CONSOLE |
| 51 | |
Bin Meng | d79593b | 2015-02-04 16:26:13 +0800 | [diff] [blame] | 52 | /* SD/MMC support */ |
| 53 | #define CONFIG_MMC |
| 54 | #define CONFIG_SDHCI |
| 55 | #define CONFIG_GENERIC_MMC |
| 56 | #define CONFIG_MMC_SDMA |
| 57 | #define CONFIG_CMD_MMC |
| 58 | |
Bin Meng | 7e96d31 | 2015-03-11 11:25:56 +0800 | [diff] [blame] | 59 | /* 10/100M Ethernet support */ |
| 60 | #define CONFIG_DESIGNWARE_ETH |
| 61 | #define CONFIG_DW_ALTDESCRIPTOR |
| 62 | #define CONFIG_PHYLIB |
| 63 | |
Bin Meng | 7119ba7 | 2015-03-11 17:22:29 +0800 | [diff] [blame] | 64 | /* Environment configuration */ |
Bin Meng | 7119ba7 | 2015-03-11 17:22:29 +0800 | [diff] [blame] | 65 | #define CONFIG_ENV_SECT_SIZE 0x1000 |
| 66 | #define CONFIG_ENV_OFFSET 0 |
| 67 | |
Bin Meng | 8d6ed12 | 2015-02-02 22:35:28 +0800 | [diff] [blame] | 68 | #endif /* __CONFIG_H */ |