diff options
author | Ronak Jain <ronak.jain@amd.com> | 2024-04-25 02:59:13 -0700 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2024-06-03 13:07:56 +0200 |
commit | 494c55a1ec0ab40198cf43f5a41c7c5e0b70e7fc (patch) | |
tree | 317cd33c96003412a190acaeeffc140545935623 /include/linux/firmware | |
parent | fcf544ac64397776a18246eba5a8ca72a47c4405 (diff) | |
download | linux-494c55a1ec0ab40198cf43f5a41c7c5e0b70e7fc.tar.gz linux-494c55a1ec0ab40198cf43f5a41c7c5e0b70e7fc.tar.bz2 linux-494c55a1ec0ab40198cf43f5a41c7c5e0b70e7fc.zip |
firmware: xilinx: Move FIRMWARE_VERSION_MASK to xlnx-zynqmp.h
Move FIRMWARE_VERSION_MASK macro to xlnx-zynqmp.h so that other
drivers can use it for verifying the supported firmware version.
Signed-off-by: Ronak Jain <ronak.jain@amd.com>
Signed-off-by: Anand Ashok Dumbre <anand.ashok.dumbre@amd.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/20240425095913.919390-1-ronak.jain@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'include/linux/firmware')
-rw-r--r-- | include/linux/firmware/xlnx-zynqmp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index 1a069a56c961..d7d07afc0532 100644 --- a/include/linux/firmware/xlnx-zynqmp.h +++ b/include/linux/firmware/xlnx-zynqmp.h @@ -52,6 +52,9 @@ #define API_ID_MASK GENMASK(7, 0) #define MODULE_ID_MASK GENMASK(11, 8) +/* Firmware feature check version mask */ +#define FIRMWARE_VERSION_MASK 0xFFFFU + /* ATF only commands */ #define TF_A_PM_REGISTER_SGI 0xa04 #define PM_GET_TRUSTZONE_VERSION 0xa03 |