diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-10-17 16:38:25 +0300 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2013-12-02 22:28:54 +0100 |
commit | b1b9c93f7c4deb1db7eccfe001d8ef146052d3eb (patch) | |
tree | 345ce6994c2912011c583e1fdd100edf4bf6351b /src/vendorcode/google | |
parent | 161e9cc56b6009068a2b690f0d5d073bbb228acc (diff) | |
download | coreboot-b1b9c93f7c4deb1db7eccfe001d8ef146052d3eb.tar.xz |
Add option to disable ChromeOS
Those building Chromebook firmware from coreboot git might be more
interested in building without ChromeOS extras.
Change-Id: I2f176d059fd45bf4eb02cc0f3f1dcc353095d0ce
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3977
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/vendorcode/google')
-rw-r--r-- | src/vendorcode/google/chromeos/Kconfig | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/vendorcode/google/chromeos/Kconfig b/src/vendorcode/google/chromeos/Kconfig index d5ca2124ea..a564608bee 100644 --- a/src/vendorcode/google/chromeos/Kconfig +++ b/src/vendorcode/google/chromeos/Kconfig @@ -16,17 +16,22 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## +config MAINBOARD_HAS_CHROMEOS + def_bool n + +menu "ChromeOS" + depends on MAINBOARD_HAS_CHROMEOS + config CHROMEOS - bool - default n + bool "Build for ChromeOS" + default y select TPM help Enable ChromeOS specific features like the GPIO sub table in the coreboot table. NOTE: Enabling this option on an unsupported board will most likely break your build. -menu "ChromeOS" - depends on CHROMEOS +if CHROMEOS config VBNV_OFFSET hex @@ -66,12 +71,9 @@ config FLASHMAP_OFFSET help Offset of flash map in firmware image -endmenu - config VBOOT_VERIFY_FIRMWARE bool "Verify firmware with vboot." default n - depends on CHROMEOS help Enabling VBOOT_VERIFY_FIRMWARE will use vboot to verify the ramstage and boot loader. @@ -111,8 +113,10 @@ config VBOOT_RAMSTAGE_INDEX config NO_TPM_RESUME bool default n - depends on CHROMEOS help On some boards the TPM stays powered up in S3. On those boards, booting Windows will break if the TPM resume command is sent during an S3 resume. + +endif +endmenu |