Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2011 The Chromium OS Authors. |
| 3 | * (C) Copyright 2008 |
| 4 | * Graeme Russ, graeme.russ@gmail.com. |
| 5 | * |
Wolfgang Denk | 3765b3e | 2013-10-07 13:07:26 +0200 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ |
Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 9 | /* |
| 10 | * board/config.h - configuration options, board specific |
| 11 | */ |
| 12 | |
| 13 | #ifndef __CONFIG_H |
| 14 | #define __CONFIG_H |
| 15 | |
Simon Glass | 880a3cc | 2014-11-10 18:00:23 -0700 | [diff] [blame] | 16 | #include <configs/x86-common.h> |
| 17 | |
Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 18 | /* |
| 19 | * High Level Configuration Options |
| 20 | * (easy to change) |
| 21 | */ |
| 22 | #define CONFIG_SYS_COREBOOT |
Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 23 | #define CONFIG_LAST_STAGE_INIT |
Simon Glass | 617c246 | 2013-04-15 11:25:21 +0000 | [diff] [blame] | 24 | #define CONFIG_SYS_EARLY_PCI_INIT |
Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 25 | |
Simon Glass | 880a3cc | 2014-11-10 18:00:23 -0700 | [diff] [blame] | 26 | #define CONFIG_SYS_CAR_ADDR 0x19200000 |
| 27 | #define CONFIG_SYS_CAR_SIZE (16 * 1024) |
| 28 | #define CONFIG_SYS_MONITOR_LEN (256 * 1024) |
Simon Glass | 7414112 | 2014-10-10 07:49:18 -0600 | [diff] [blame] | 29 | |
Simon Glass | 880a3cc | 2014-11-10 18:00:23 -0700 | [diff] [blame] | 30 | #define CONFIG_TRACE_EARLY_SIZE (8 << 20) |
| 31 | #define CONFIG_TRACE_EARLY |
| 32 | #define CONFIG_TRACE_EARLY_ADDR 0x01400000 |
Simon Glass | fc95908 | 2013-02-28 19:26:18 +0000 | [diff] [blame] | 33 | |
Simon Glass | 2e65959 | 2013-04-17 16:13:43 +0000 | [diff] [blame] | 34 | #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 Glass | 51bdad6 | 2012-10-29 05:24:05 +0000 | [diff] [blame] | 43 | #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 Glass | e98a03c | 2014-10-10 07:49:20 -0600 | [diff] [blame] | 52 | #define CONFIG_COREBOOT_SERIAL |
Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 53 | |
Simon Glass | e98a03c | 2014-10-10 07:49:20 -0600 | [diff] [blame] | 54 | #define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,vga,serial\0" \ |
| 55 | "stdout=vga,serial,cbmem\0" \ |
| 56 | "stderr=vga,serial,cbmem\0" |
Simon Glass | 420a2ca | 2012-11-29 09:58:58 +0000 | [diff] [blame] | 57 | |
Simon Glass | 420a2ca | 2012-11-29 09:58:58 +0000 | [diff] [blame] | 58 | #define CONFIG_CBMEM_CONSOLE |
| 59 | |
Simon Glass | cbca883 | 2012-11-03 11:41:42 +0000 | [diff] [blame] | 60 | #define CONFIG_VIDEO_COREBOOT |
Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 61 | |
Simon Glass | 880a3cc | 2014-11-10 18:00:23 -0700 | [diff] [blame] | 62 | #define CONFIG_NR_DRAM_BANKS 4 |
Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 63 | |
Simon Glass | b5f3193 | 2013-06-11 11:14:53 -0700 | [diff] [blame] | 64 | #define CONFIG_TRACE |
| 65 | #define CONFIG_CMD_TRACE |
| 66 | #define CONFIG_TRACE_BUFFER_SIZE (16 << 20) |
Simon Glass | 34d6057 | 2012-12-02 04:49:55 +0000 | [diff] [blame] | 67 | |
Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 68 | #define CONFIG_BOOTDELAY 2 |
Gabe Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 69 | |
Simon Glass | 14db950 | 2014-10-10 07:30:16 -0600 | [diff] [blame] | 70 | #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 Black | ef5a5b0 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 75 | #endif /* __CONFIG_H */ |