Daisuke Nojiri | 742fc8d | 2014-10-10 10:51:06 -0700 | [diff] [blame] | 1 | ## 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 | |
| 19 | config VBOOT2_VERIFY_FIRMWARE |
| 20 | bool "Firmware Verification with vboot2" |
| 21 | default n |
| 22 | depends on CHROMEOS && HAVE_HARD_RESET |
| 23 | help |
| 24 | Enabling VBOOT2_VERIFY_FIRMWARE will use vboot2 to verify the romstage |
| 25 | and boot loader. |
| 26 | |
| 27 | config RETURN_FROM_VERSTAGE |
| 28 | bool "return from verstage" |
| 29 | default n |
| 30 | depends on VBOOT2_VERIFY_FIRMWARE |
| 31 | help |
| 32 | If this is set, the verstage returns back to the bootblock instead of |
| 33 | exits to the romstage so that the verstage space can be reused by the |
| 34 | romstage. Useful if a ram space is too small to fit both the verstage |
| 35 | and the romstage. |
| 36 | |
| 37 | config VBOOT_ROMSTAGE_INDEX |
| 38 | hex |
| 39 | default 2 |
| 40 | depends on VBOOT2_VERIFY_FIRMWARE |
| 41 | help |
| 42 | This is the index of the romstage component in the verified |
| 43 | firmware block. |
Vadim Bendebury | 30773d2 | 2015-03-20 16:11:13 -0700 | [diff] [blame] | 44 | |
| 45 | config VBOOT_DISABLE_DEV_ON_RECOVERY |
| 46 | bool "Disable dev mode on recovery requests" |
| 47 | default n |
| 48 | depends on VBOOT2_VERIFY_FIRMWARE |
| 49 | help |
| 50 | When this option is enabled, the Chrome OS device leaves the |
| 51 | developer mode as soon as recovery request is detected. This is |
| 52 | handy on embedded devices with limited input capabilities. |