diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2016-02-02 14:43:56 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-02-03 18:53:53 +0100 |
commit | 0db0e61f6491ac64016e8ebcb45ab9950a2c7c79 (patch) | |
tree | f3b83df3da1ac64a8a90f1af38867a54ebc1c870 /src/vendorcode/google/chromeos/Kconfig | |
parent | 4505787724616221a42a6cf81f89383d732a9cb3 (diff) | |
download | coreboot-0db0e61f6491ac64016e8ebcb45ab9950a2c7c79.tar.xz |
chromeos: Create GBB at build time
The GBB contains hardware-specific data plus some configuration. The
latter isn't supported by this change yet and will come later.
The fields that are supported (hardware ID, bmpfv, vboot keys) are
configurable through Kconfig and point to Chrome OS-style default (eg.
developer keys).
While adding vboot keys, the two keys used to sign RW regions are also
added to Kconfig, even if not yet used.
Change-Id: Icfba6061ca83182df560cd36052fbb257826d4b0
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/13558
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/vendorcode/google/chromeos/Kconfig')
-rw-r--r-- | src/vendorcode/google/chromeos/Kconfig | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/vendorcode/google/chromeos/Kconfig b/src/vendorcode/google/chromeos/Kconfig index d2a42a13d5..f06081773f 100644 --- a/src/vendorcode/google/chromeos/Kconfig +++ b/src/vendorcode/google/chromeos/Kconfig @@ -168,5 +168,49 @@ config HAVE_REGULATORY_DOMAIN source src/vendorcode/google/chromeos/vboot2/Kconfig +menu "GBB configuration" + +config GBB_HWID + string "Hardware ID" + default "NOCONF HWID" + +config GBB_BMPFV_FILE + string "Path to bmpfv image" + depends on GBB_HAVE_BMPFV + default "" + +endmenu # GBB + +menu "Vboot Keys" +config VBOOT_ROOT_KEY + string "Root key (public)" + default "3rdparty/vboot/tests/devkeys/root_key.vbpubk" + +config VBOOT_RECOVERY_KEY + string "Recovery key (public)" + default "3rdparty/vboot/tests/devkeys/recovery_key.vbpubk" + +config VBOOT_FIRMWARE_PRIVKEY + string "Firmware key (private)" + default "3rdparty/vboot/tests/devkeys/firmware_data_key.vbprivk" + +config VBOOT_KERNEL_KEY + string "Kernel subkey (public)" + default "3rdparty/vboot/tests/devkeys/kernel_subkey.vbpubk" + +config VBOOT_KEYBLOCK + string "Keyblock to use for the RW regions" + default "3rdparty/vboot/tests/devkeys/firmware.keyblock" + +config VBOOT_KEYBLOCK_VERSION + int "Keyblock version number" + default 1 + +config VBOOT_KEYBLOCK_PREAMBLE_FLAGS + hex "Keyblock preamble flags" + default 0 + +endmenu # Keys + endif # CHROMEOS endmenu |