[PATCH 1/2] x86: Add an enum name for the GNVS firmware type

Simon Glass sjg at chromium.org
Mon Feb 28 23:18:12 CET 2022


This enum is currently anonymous. Add a name so it can be used in the
code.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/x86/include/asm/intel_gnvs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/intel_gnvs.h b/arch/x86/include/asm/intel_gnvs.h
index fc743dc928..b12d7f9485 100644
--- a/arch/x86/include/asm/intel_gnvs.h
+++ b/arch/x86/include/asm/intel_gnvs.h
@@ -47,7 +47,7 @@ enum {
 	BINF_RW_B = 2
 };
 
-enum {
+enum cros_fw_type_t {
 	FIRMWARE_TYPE_AUTO_DETECT = -1,
 	FIRMWARE_TYPE_RECOVERY = 0,
 	FIRMWARE_TYPE_NORMAL = 1,
-- 
2.35.1.574.g5d30c73bfb-goog



More information about the U-Boot mailing list