blob: 823e051eb11774cfd46e6a4d5f33fd73c351e2b8 [file] [log] [blame]
Simon Glass3a1a18f2015-01-27 22:13:47 -07001/*
2 * Copyright (C) 2015 Google, Inc
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
18
19#define CONFIG_NR_DRAM_BANKS 1
20
21#define CONFIG_X86_SERIAL
22#define CONFIG_SMSC_LPC47M
23
24#define CONFIG_PCI_MEM_BUS 0xd0000000
25#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
26#define CONFIG_PCI_MEM_SIZE 0x10000000
27
28#define CONFIG_PCI_PREF_BUS 0xc0000000
29#define CONFIG_PCI_PREF_PHYS CONFIG_PCI_PREF_BUS
30#define CONFIG_PCI_PREF_SIZE 0x10000000
31
32#define CONFIG_PCI_IO_BUS 0x2000
33#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
34#define CONFIG_PCI_IO_SIZE 0xe000
35
36#define CONFIG_SYS_EARLY_PCI_INIT
37#define CONFIG_PCI_PNP
38#define CONFIG_RTL8169
39#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,vga,serial\0" \
40 "stdout=vga,serial\0" \
41 "stderr=vga,serial\0"
42
43#define CONFIG_SCSI_DEV_LIST \
44 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
45#define CONFIG_SPI_FLASH_SST
46
47#define CONFIG_MMC
48#define CONFIG_SDHCI
49#define CONFIG_GENERIC_MMC
50#define CONFIG_MMC_SDMA
51#define CONFIG_CMD_MMC
52
53#undef CONFIG_USB_MAX_CONTROLLER_COUNT
54#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
55
56#define CONFIG_X86_OPTION_ROM_FILE vga.bin
57#define CONFIG_X86_OPTION_ROM_ADDR 0xfff90000
58
59#ifndef CONFIG_SYS_COREBOOT
60#define CONFIG_VIDEO_VESA
61#endif
62#define VIDEO_IO_OFFSET 0
63#define CONFIG_X86EMU_RAW_IO
64#define CONFIG_VGA_AS_SINGLE_DEVICE
65
66#define CONFIG_FIT_SIGNATURE
67#define CONFIG_RSA
68
69/* Avoid a warning in the Realtek Ethernet driver */
70#define CONFIG_SYS_CACHELINE_SIZE 16
71
72#endif /* __CONFIG_H */