diff options
| author | Kiran K <kiran.k@intel.com> | 2024-03-11 14:16:25 +0530 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-05-14 10:51:03 -0400 |
| commit | 5ec6feb14fea56d81758bc9a574da25143886647 (patch) | |
| tree | 3f697b9944d447f9844b54e9eddaa879239dc25e /drivers/bluetooth/btintel.h | |
| parent | 5c1672705a1a2389f5ad78e0fea6f08ed32d6f18 (diff) | |
Bluetooth: btintel: Define macros for image types
Use macro for image type instead of using hard code number.
Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth/btintel.h')
| -rw-r--r-- | drivers/bluetooth/btintel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/bluetooth/btintel.h b/drivers/bluetooth/btintel.h index d19fcdb9ff0b..d961a33bfbd6 100644 --- a/drivers/bluetooth/btintel.h +++ b/drivers/bluetooth/btintel.h @@ -51,6 +51,9 @@ struct intel_tlv { u8 val[]; } __packed; +#define BTINTEL_IMG_BOOTLOADER 0x01 /* Bootloader image */ +#define BTINTEL_IMG_OP 0x03 /* Operational image */ + struct intel_version_tlv { u32 cnvi_top; u32 cnvr_top; |