ACK: [PATCH 1/3] lib: fwts_uefi: add efi bluetooth device path define

Alex Hung alex.hung at canonical.com
Wed Nov 25 02:33:02 UTC 2015


On 2015-11-20 04:46 PM, Ivan Hu wrote:
> Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
> ---
>   src/lib/include/fwts_uefi.h | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/src/lib/include/fwts_uefi.h b/src/lib/include/fwts_uefi.h
> index 6b32165..a1d9971 100644
> --- a/src/lib/include/fwts_uefi.h
> +++ b/src/lib/include/fwts_uefi.h
> @@ -235,7 +235,8 @@ typedef enum {
>   	FWTS_UEFI_NVM_EXPRESS_NAMESP_DEVICE_PATH_SUBTYPE = (0x17),
>   	FWTS_UEFI_URI_DEVICE_PATH_SUBTYPE = 		(0x18),
>   	FWTS_UEFI_UFS_DEVICE_PATH_SUBTYPE = 		(0x19),
> -	FWTS_UEFI_SD_DEVICE_PATH_SUBTYPE = 		(0x1a)
> +	FWTS_UEFI_SD_DEVICE_PATH_SUBTYPE = 		(0x1a),
> +	FWTS_UEFI_BLUETOOTH_DEVICE_PATH_SUBTYPE = 	(0x1b)
>   } messaging_dev_path_subtypes;
>
>   typedef enum {
> @@ -524,6 +525,11 @@ typedef struct {
>
>   typedef struct {
>   	fwts_uefi_dev_path dev_path;
> +	uint8_t bluetooth_addr[6];
> +} __attribute__((packed)) fwts_uefi_bluetooth_dev_path;
> +
> +typedef struct {
> +	fwts_uefi_dev_path dev_path;
>   	uint32_t partition_number;
>   	uint64_t partition_start;
>   	uint64_t partition_size;
>

Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list