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

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


On 2015-11-20 04:40 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 0bd7da8..6b32165 100644
> --- a/src/lib/include/fwts_uefi.h
> +++ b/src/lib/include/fwts_uefi.h
> @@ -234,7 +234,8 @@ typedef enum {
>   	FWTS_UEFI_SAS_EX_DEVICE_PATH_SUBTYPE =		(0x16),
>   	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_UFS_DEVICE_PATH_SUBTYPE = 		(0x19),
> +	FWTS_UEFI_SD_DEVICE_PATH_SUBTYPE = 		(0x1a)
>   } messaging_dev_path_subtypes;
>
>   typedef enum {
> @@ -518,6 +519,11 @@ typedef struct {
>
>   typedef struct {
>   	fwts_uefi_dev_path dev_path;
> +	uint8_t slot_number;
> +} __attribute__((packed)) fwts_uefi_sd_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