Bin Meng | ef4dc7e | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014, 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 | ef4dc7e | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 17 | #define CONFIG_BOARD_EARLY_INIT_F |
Bin Meng | 1530536 | 2015-04-24 18:10:06 +0800 | [diff] [blame] | 18 | #define CONFIG_ARCH_MISC_INIT |
Bin Meng | ef4dc7e | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 19 | |
Bin Meng | ef4dc7e | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 20 | #define CONFIG_NR_DRAM_BANKS 1 |
| 21 | |
Bin Meng | 7bb2c3c | 2014-12-17 15:50:47 +0800 | [diff] [blame] | 22 | #define CONFIG_X86_SERIAL |
Bin Meng | ef4dc7e | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 23 | #define CONFIG_SMSC_LPC47M |
| 24 | |
| 25 | #define CONFIG_PCI_MEM_BUS 0x40000000 |
| 26 | #define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS |
| 27 | #define CONFIG_PCI_MEM_SIZE 0x80000000 |
| 28 | |
| 29 | #define CONFIG_PCI_PREF_BUS 0xc0000000 |
| 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 |
Bin Meng | ee18d64 | 2014-12-17 15:50:45 +0800 | [diff] [blame] | 39 | #define CONFIG_E1000 |
Bin Meng | ef4dc7e | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 40 | |
| 41 | #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \ |
| 42 | "stdout=serial\0" \ |
| 43 | "stderr=serial\0" |
| 44 | |
| 45 | #define CONFIG_SCSI_DEV_LIST \ |
| 46 | {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SATA} |
| 47 | |
Bin Meng | b8b4440 | 2014-12-17 15:50:44 +0800 | [diff] [blame] | 48 | #define CONFIG_SPI_FLASH_SST |
| 49 | |
Bin Meng | 8046aa8 | 2014-12-17 15:50:46 +0800 | [diff] [blame] | 50 | #define CONFIG_MMC |
| 51 | #define CONFIG_SDHCI |
| 52 | #define CONFIG_GENERIC_MMC |
| 53 | #define CONFIG_MMC_SDMA |
| 54 | #define CONFIG_CMD_MMC |
| 55 | |
Bin Meng | 371a704 | 2015-03-20 17:12:21 +0800 | [diff] [blame] | 56 | /* Topcliff Gigabit Ethernet */ |
| 57 | #define CONFIG_PCH_GBE |
| 58 | #define CONFIG_PHYLIB |
| 59 | |
Bin Meng | ef4dc7e | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 60 | /* Video is not supported */ |
| 61 | #undef CONFIG_VIDEO |
| 62 | #undef CONFIG_CFB_CONSOLE |
| 63 | |
Bin Meng | b089fa4 | 2015-03-11 17:22:28 +0800 | [diff] [blame] | 64 | /* Environment configuration */ |
Bin Meng | b089fa4 | 2015-03-11 17:22:28 +0800 | [diff] [blame] | 65 | #define CONFIG_ENV_SECT_SIZE 0x1000 |
| 66 | #define CONFIG_ENV_OFFSET 0 |
| 67 | |
Bin Meng | ef4dc7e | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 68 | #endif /* __CONFIG_H */ |