blob: 25813804834088219d2f376a2ec68e8f9c9b10a4 [file] [log] [blame]
Gabe Black27a4d072011-11-29 18:05:07 +00001/*
2 * Copyright (c) 2011 The Chromium OS Authors.
3 * (C) Copyright 2008
4 * Graeme Russ, graeme.russ@gmail.com.
5 *
Wolfgang Denkbd8ec7e2013-10-07 13:07:26 +02006 * SPDX-License-Identifier: GPL-2.0+
Gabe Black27a4d072011-11-29 18:05:07 +00007 */
8
Gabe Black27a4d072011-11-29 18:05:07 +00009/*
10 * board/config.h - configuration options, board specific
11 */
12
13#ifndef __CONFIG_H
14#define __CONFIG_H
15
Simon Glassff7636c2014-11-10 18:00:23 -070016#include <configs/x86-common.h>
17
Gabe Black27a4d072011-11-29 18:05:07 +000018/*
19 * High Level Configuration Options
20 * (easy to change)
21 */
22#define CONFIG_SYS_COREBOOT
Gabe Black27a4d072011-11-29 18:05:07 +000023#define CONFIG_LAST_STAGE_INIT
Simon Glass3d520592013-04-15 11:25:21 +000024#define CONFIG_SYS_EARLY_PCI_INIT
Gabe Black27a4d072011-11-29 18:05:07 +000025
Simon Glassff7636c2014-11-10 18:00:23 -070026#define CONFIG_SYS_CAR_ADDR 0x19200000
27#define CONFIG_SYS_CAR_SIZE (16 * 1024)
28#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
Simon Glass2b4071b2014-10-10 07:49:18 -060029
Simon Glassff7636c2014-11-10 18:00:23 -070030#define CONFIG_TRACE_EARLY_SIZE (8 << 20)
31#define CONFIG_TRACE_EARLY
32#define CONFIG_TRACE_EARLY_ADDR 0x01400000
Simon Glass50422132013-02-28 19:26:18 +000033
Simon Glassba55cdc2013-04-17 16:13:43 +000034#define CONFIG_BOOTSTAGE
35#define CONFIG_BOOTSTAGE_REPORT
36#define CONFIG_BOOTSTAGE_FDT
37#define CONFIG_CMD_BOOTSTAGE
38/* Place to stash bootstage data from first-stage U-Boot */
39#define CONFIG_BOOTSTAGE_STASH 0x0110f000
40#define CONFIG_BOOTSTAGE_STASH_SIZE 0x7fc
41#define CONFIG_BOOTSTAGE_USER_COUNT 60
42
Simon Glass08726a22012-10-29 05:24:05 +000043#define CONFIG_SCSI_DEV_LIST {PCI_VENDOR_ID_INTEL, \
44 PCI_DEVICE_ID_INTEL_NM10_AHCI}, \
45 {PCI_VENDOR_ID_INTEL, \
46 PCI_DEVICE_ID_INTEL_COUGARPOINT_AHCI_MOBILE}, \
47 {PCI_VENDOR_ID_INTEL, \
48 PCI_DEVICE_ID_INTEL_COUGARPOINT_AHCI_SERIES6}, \
49 {PCI_VENDOR_ID_INTEL, \
50 PCI_DEVICE_ID_INTEL_PANTHERPOINT_AHCI_MOBILE}
51
Simon Glass60cebe52014-10-10 07:49:20 -060052#define CONFIG_COREBOOT_SERIAL
Gabe Black27a4d072011-11-29 18:05:07 +000053
Simon Glass60cebe52014-10-10 07:49:20 -060054#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,vga,serial\0" \
55 "stdout=vga,serial,cbmem\0" \
56 "stderr=vga,serial,cbmem\0"
Simon Glassb357bc02012-11-29 09:58:58 +000057
Simon Glassb357bc02012-11-29 09:58:58 +000058#define CONFIG_CBMEM_CONSOLE
59
Simon Glassc28c3b22012-11-03 11:41:42 +000060#define CONFIG_VIDEO_COREBOOT
Gabe Black27a4d072011-11-29 18:05:07 +000061
Simon Glassff7636c2014-11-10 18:00:23 -070062#define CONFIG_NR_DRAM_BANKS 4
Gabe Black27a4d072011-11-29 18:05:07 +000063
Simon Glassdfe33ea2013-06-11 11:14:53 -070064#define CONFIG_TRACE
65#define CONFIG_CMD_TRACE
66#define CONFIG_TRACE_BUFFER_SIZE (16 << 20)
Simon Glassc777e522012-12-02 04:49:55 +000067
Gabe Black27a4d072011-11-29 18:05:07 +000068#define CONFIG_BOOTDELAY 2
Gabe Black27a4d072011-11-29 18:05:07 +000069
Simon Glass7fb1aa42014-10-10 07:30:16 -060070#define CONFIG_CROS_EC
71#define CONFIG_CROS_EC_LPC
72#define CONFIG_CMD_CROS_EC
73#define CONFIG_ARCH_EARLY_INIT_R
74
Gabe Black27a4d072011-11-29 18:05:07 +000075#endif /* __CONFIG_H */