x86: Add an enum name for the GNVS firmware type
This enum is currently anonymous. Add a name so it can be used in the code. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
c96137000e
commit
978a8a296e
@ -47,7 +47,13 @@ enum {
|
||||
BINF_RW_B = 2
|
||||
};
|
||||
|
||||
enum {
|
||||
/**
|
||||
* enum cros_fw_type_t - Used to indicate Chromium OS firmware type
|
||||
*
|
||||
* Chromium OS uses a region of the GNVS starting at offset 0x100 to store
|
||||
* various bits of information, including the type of firmware being booted
|
||||
*/
|
||||
enum cros_fw_type_t {
|
||||
FIRMWARE_TYPE_AUTO_DETECT = -1,
|
||||
FIRMWARE_TYPE_RECOVERY = 0,
|
||||
FIRMWARE_TYPE_NORMAL = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user