Add Google ChromeOS vendor support
[coreboot.git] / src / vendorcode / google / chromeos / Kconfig
1 ## This file is part of the coreboot project.
2 ##
3 ## Copyright (C) 2011 The ChromiumOS Authors.  All rights reserved.
4 ##
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; version 2 of the License.
8 ##
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ## GNU General Public License for more details.
13 ##
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 ##
18
19 config CHROMEOS
20         bool
21         default n
22         select TPM
23         select CACHE_ROM
24         help
25           Enable ChromeOS specific features like the GPIO sub table in
26           the coreboot table. NOTE: Enabling this option on an unsupported
27           board will most likely break your build.
28
29 config VBNV_OFFSET
30         hex
31         default 0x26
32         help
33           CMOS offset for VbNv data. This value must match cmos.layout
34           in the mainboard directory, minus 14 bytes for the RTC.
35
36 config VBNV_SIZE
37         hex
38         default 0x10
39         help
40           CMOS storage size for VbNv data. This value must match cmos.layout
41           in the mainboard directory.
42
43 config CHROMEOS_RAMOOPS
44         bool "Reserve space for Chrome OS ramoops"
45         default y
46
47 config CHROMEOS_RAMOOPS_RAM_START
48         hex "Physical address of preserved RAM"
49         default 0x00f00000
50         depends on CHROMEOS_RAMOOPS
51
52 config CHROMEOS_RAMOOPS_RAM_SIZE
53         hex "Size of preserved RAM"
54         default 0x00100000
55         depends on CHROMEOS_RAMOOPS