Commit 5783c68a authored by Alex Elder's avatar Alex Elder Committed by Jakub Kicinski

net: ipa: define IPA v5.0

In preparation for adding support for IPA v5.0, define it as an
understood version.
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 58ba4263
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
* @IPA_VERSION_4_7: IPA version 4.7/GSI version 2.7 * @IPA_VERSION_4_7: IPA version 4.7/GSI version 2.7
* @IPA_VERSION_4_9: IPA version 4.9/GSI version 2.9 * @IPA_VERSION_4_9: IPA version 4.9/GSI version 2.9
* @IPA_VERSION_4_11: IPA version 4.11/GSI version 2.11 (2.1.1) * @IPA_VERSION_4_11: IPA version 4.11/GSI version 2.11 (2.1.1)
* @IPA_VERSION_5_0: IPA version 5.0/GSI version 3.0
* @IPA_VERSION_COUNT: Number of defined IPA versions * @IPA_VERSION_COUNT: Number of defined IPA versions
* *
* Defines the version of IPA (and GSI) hardware present on the platform. * Defines the version of IPA (and GSI) hardware present on the platform.
...@@ -36,6 +37,7 @@ enum ipa_version { ...@@ -36,6 +37,7 @@ enum ipa_version {
IPA_VERSION_4_7, IPA_VERSION_4_7,
IPA_VERSION_4_9, IPA_VERSION_4_9,
IPA_VERSION_4_11, IPA_VERSION_4_11,
IPA_VERSION_5_0,
IPA_VERSION_COUNT, /* Last; not a version */ IPA_VERSION_COUNT, /* Last; not a version */
}; };
...@@ -48,6 +50,7 @@ static inline bool ipa_version_supported(enum ipa_version version) ...@@ -48,6 +50,7 @@ static inline bool ipa_version_supported(enum ipa_version version)
case IPA_VERSION_4_5: case IPA_VERSION_4_5:
case IPA_VERSION_4_9: case IPA_VERSION_4_9:
case IPA_VERSION_4_11: case IPA_VERSION_4_11:
case IPA_VERSION_5_0:
return true; return true;
default: default:
return false; return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment