Don't unconditionally show ChromeOS options
[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 menu "ChromeOS"
30         depends on CHROMEOS
31
32 config VBNV_OFFSET
33         hex
34         default 0x26
35         help
36           CMOS offset for VbNv data. This value must match cmos.layout
37           in the mainboard directory, minus 14 bytes for the RTC.
38
39 config VBNV_SIZE
40         hex
41         default 0x10
42         help
43           CMOS storage size for VbNv data. This value must match cmos.layout
44           in the mainboard directory.
45
46 config CHROMEOS_RAMOOPS
47         bool "Reserve space for Chrome OS ramoops"
48         default y
49
50 config CHROMEOS_RAMOOPS_RAM_START
51         hex "Physical address of preserved RAM"
52         default 0x00f00000
53         depends on CHROMEOS_RAMOOPS
54
55 config CHROMEOS_RAMOOPS_RAM_SIZE
56         hex "Size of preserved RAM"
57         default 0x00100000
58         depends on CHROMEOS_RAMOOPS
59
60 endmenu