summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_version.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-09-10 04:11:27 +0300
committerJakub Kicinski <kuba@kernel.org>2022-09-20 17:45:46 +0300
commitbb788de30a74facb920448bb129d345eb0294b13 (patch)
treefb0f206a2cc3ee07977d0a04d70f8d1b5c03373b /drivers/net/ipa/ipa_version.h
parent5ea4285829de7aa823d60d7338668fb821bb1753 (diff)
downloadlinux-bb788de30a74facb920448bb129d345eb0294b13.tar.xz
net: ipa: move the definition of gsi_ee_id
Move the definition of the gsi_ee_id enumerated type out of "gsi.h" and into "ipa_version.h". That latter header file isolates the definition of the ipa_version enumerated type, allowing it to be included in both IPA and GSI code. We have the same requirement for gsi_ee_id, and moving it here makes it easier to get only that definition without everything else defined in "gsi.h". Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa/ipa_version.h')
-rw-r--r--drivers/net/ipa/ipa_version.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_version.h b/drivers/net/ipa/ipa_version.h
index 6c16c895d842..852d6cbc8775 100644
--- a/drivers/net/ipa/ipa_version.h
+++ b/drivers/net/ipa/ipa_version.h
@@ -38,4 +38,12 @@ enum ipa_version {
IPA_VERSION_4_11,
};
+/* Execution environment IDs */
+enum gsi_ee_id {
+ GSI_EE_AP = 0x0,
+ GSI_EE_MODEM = 0x1,
+ GSI_EE_UC = 0x2,
+ GSI_EE_TZ = 0x3,
+};
+
#endif /* _IPA_VERSION_H_ */