Bin Meng | 405d820 | 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 | 405d820 | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 17 | #define CONFIG_BOARD_EARLY_INIT_F |
Bin Meng | afbf140 | 2015-04-24 18:10:06 +0800 | [diff] [blame] | 18 | #define CONFIG_ARCH_MISC_INIT |
Bin Meng | 405d820 | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 19 | |
Bin Meng | 405d820 | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 20 | #define CONFIG_SMSC_LPC47M |
| 21 | |
| 22 | #define CONFIG_PCI_MEM_BUS 0x40000000 |
| 23 | #define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS |
| 24 | #define CONFIG_PCI_MEM_SIZE 0x80000000 |
| 25 | |
| 26 | #define CONFIG_PCI_PREF_BUS 0xc0000000 |
| 27 | #define CONFIG_PCI_PREF_PHYS CONFIG_PCI_PREF_BUS |
| 28 | #define CONFIG_PCI_PREF_SIZE 0x20000000 |
| 29 | |
| 30 | #define CONFIG_PCI_IO_BUS 0x2000 |
| 31 | #define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS |
| 32 | #define CONFIG_PCI_IO_SIZE 0xe000 |
| 33 | |
Bin Meng | 7aaff9b | 2015-07-06 16:31:35 +0800 | [diff] [blame] | 34 | #define CONFIG_PCI_CONFIG_HOST_BRIDGE |
Bin Meng | 405d820 | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 35 | #define CONFIG_SYS_EARLY_PCI_INIT |
| 36 | #define CONFIG_PCI_PNP |
| 37 | |
Bin Meng | 7aaff9b | 2015-07-06 16:31:35 +0800 | [diff] [blame] | 38 | #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,vga,usbkbd\0" \ |
| 39 | "stdout=serial,vga\0" \ |
| 40 | "stderr=serial,vga\0" |
Bin Meng | 405d820 | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 41 | |
Bin Meng | 7aaff9b | 2015-07-06 16:31:35 +0800 | [diff] [blame] | 42 | #define CONFIG_SCSI_DEV_LIST \ |
Bin Meng | 405d820 | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 43 | {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SATA} |
| 44 | |
Bin Meng | adfe3b2 | 2014-12-17 15:50:44 +0800 | [diff] [blame] | 45 | #define CONFIG_SPI_FLASH_SST |
| 46 | |
Bin Meng | aada627 | 2014-12-17 15:50:46 +0800 | [diff] [blame] | 47 | #define CONFIG_MMC |
| 48 | #define CONFIG_SDHCI |
| 49 | #define CONFIG_GENERIC_MMC |
| 50 | #define CONFIG_MMC_SDMA |
| 51 | #define CONFIG_CMD_MMC |
| 52 | |
Bin Meng | a84134f | 2015-03-20 17:12:21 +0800 | [diff] [blame] | 53 | /* Topcliff Gigabit Ethernet */ |
| 54 | #define CONFIG_PCH_GBE |
| 55 | #define CONFIG_PHYLIB |
| 56 | |
Bin Meng | 7aaff9b | 2015-07-06 16:31:35 +0800 | [diff] [blame] | 57 | /* TunnelCreek IGD support */ |
| 58 | #define CONFIG_VGA_AS_SINGLE_DEVICE |
Bin Meng | 405d820 | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 59 | |
Bin Meng | fba02d6 | 2015-03-11 17:22:28 +0800 | [diff] [blame] | 60 | /* Environment configuration */ |
Bin Meng | fba02d6 | 2015-03-11 17:22:28 +0800 | [diff] [blame] | 61 | #define CONFIG_ENV_SECT_SIZE 0x1000 |
| 62 | #define CONFIG_ENV_OFFSET 0 |
| 63 | |
Bin Meng | 405d820 | 2014-12-17 15:50:41 +0800 | [diff] [blame] | 64 | #endif /* __CONFIG_H */ |