Преглед на файлове

spss_utils: Updated IAR definitions

Account for NVM UEFI app and align definitions with SPSS.

Change-Id: Ia7ffd06d21c81874ccee06055720d60a627cd4ac
Signed-off-by: Nikhil Chaturvedi <[email protected]>
Nikhil Chaturvedi преди 1 година
родител
ревизия
6a1d01c689
променени са 1 файла, в които са добавени 8 реда и са изтрити 2 реда
  1. 8 2
      include/uapi/linux/spss_utils.h

+ 8 - 2
include/uapi/linux/spss_utils.h

@@ -90,8 +90,14 @@ struct spss_ioc_is_signaled {
 
 /* ---------- set fw and apps cmac --------------------------------- */
 
-/* Asym , Crypt , Keym + 3rd party uefi apps */
-#define MAX_SPU_UEFI_APPS	8
+/* NVM, Asym , Crypt , Keym */
+#define NUM_SPU_UEFI_APPS 4
+
+/* Max number of 3rd party UEFI applications */
+#define MAX_3RD_PARTY_UEFI_APPS 3
+
+/* Max number of total UEFI applications */
+#define MAX_SPU_UEFI_APPS (NUM_SPU_UEFI_APPS + MAX_3RD_PARTY_UEFI_APPS)
 
 /** use variable-size-array for future growth */
 struct spss_ioc_set_fw_and_apps_cmac {