blob: b27b5b76f4b3554a7f9e61803fb000ac507c6027 [file] [log] [blame]
Daisuke Nojiri742fc8d2014-10-10 10:51:06 -07001## This file is part of the coreboot project.
2##
3## Copyright (C) 2014 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
Daisuke Nojiri5d302c72015-04-09 08:18:22 -070019config VBOOT2_MOCK_SECDATA
20 bool "Mock secdata for firmware verification"
21 default n
Aaron Durbin1124cec2015-04-22 10:41:42 -050022 depends on VBOOT_VERIFY_FIRMWARE
Daisuke Nojiri5d302c72015-04-09 08:18:22 -070023 help
24 Enabling VBOOT2_MOCK_SECDATA will mock secdata for the firmware
25 verification to avoid access to a secdata storage (typically TPM).
26 All operations for a secdata storage will be successful. This option
27 can be used during development when a TPM is not present or broken.
28 THIS SHOULD NOT BE LEFT ON FOR PRODUCTION DEVICES.
29
Daisuke Nojiri742fc8d2014-10-10 10:51:06 -070030config RETURN_FROM_VERSTAGE
31 bool "return from verstage"
32 default n
Aaron Durbin1124cec2015-04-22 10:41:42 -050033 depends on VBOOT_VERIFY_FIRMWARE
Daisuke Nojiri742fc8d2014-10-10 10:51:06 -070034 help
35 If this is set, the verstage returns back to the bootblock instead of
36 exits to the romstage so that the verstage space can be reused by the
37 romstage. Useful if a ram space is too small to fit both the verstage
38 and the romstage.
39
Vadim Bendebury30773d22015-03-20 16:11:13 -070040config VBOOT_DISABLE_DEV_ON_RECOVERY
41 bool "Disable dev mode on recovery requests"
42 default n
Aaron Durbin1124cec2015-04-22 10:41:42 -050043 depends on VBOOT_VERIFY_FIRMWARE
Vadim Bendebury30773d22015-03-20 16:11:13 -070044 help
45 When this option is enabled, the Chrome OS device leaves the
46 developer mode as soon as recovery request is detected. This is
47 handy on embedded devices with limited input capabilities.
Patrick Georgiefc6aa02015-04-27 18:13:50 +020048
49config VERSTAGE_IN_BOOTBLOCK
50 bool
51 default n
Aaron Durbin1124cec2015-04-22 10:41:42 -050052 depends on VBOOT_VERIFY_FIRMWARE
Patrick Georgiefc6aa02015-04-27 18:13:50 +020053
54config SEPARATE_VERSTAGE
55 bool
56 default !VERSTAGE_IN_BOOTBLOCK
Aaron Durbin1124cec2015-04-22 10:41:42 -050057 depends on VBOOT_VERIFY_FIRMWARE