mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
bdb: Add vboot_register.h
vboot_register.h lists definitions for vboot registers. Vboot registers are used to transfer information between modules (coreboot & depthcharge) or boots. BUG=chrome-os-partner:51907 BRANCH=tot TEST=make runtests Change-Id: Ie0876fefb43d3e79a8f96e8f25f99f798892a056 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/342603
This commit is contained in:
committed by
chrome-bot
parent
8fc5916c7f
commit
8917b808ce
22
firmware/bdb/vboot_register.h
Normal file
22
firmware/bdb/vboot_register.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_FIRMWARE_BDB_VBOOT_REGISTER_H
|
||||
#define VBOOT_REFERENCE_FIRMWARE_BDB_VBOOT_REGISTER_H
|
||||
|
||||
enum vboot_register {
|
||||
/* Register cleared after every reset */
|
||||
VBOOT_REGISTER,
|
||||
/* Register cleared after cold reset (persists after warm reset) */
|
||||
VBOOT_REGISTER_PERSIST,
|
||||
};
|
||||
|
||||
/* Bit fields for VBOOT_REGISTER_PERSISTENT */
|
||||
#define VBOOT_REGISTER_RECOVERY_REQUEST (1 << 0)
|
||||
#define VBOOT_REGISTER_TRY_SECONDARY_BDB (1 << 1)
|
||||
#define VBOOT_REGISTER_FAILED_RW_PRIMARY (1 << 2)
|
||||
#define VBOOT_REGISTER_FAILED_RW_SECONDARY (1 << 3)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user