[PATCH v2 13/15] lib: uuid: display HTTP and IPV4 Config II protocols
Ilias Apalodimas
ilias.apalodimas at linaro.org
Sun Nov 10 09:41:09 CET 2024
On Fri, 8 Nov 2024 at 15:40, Adriano Cordova <adrianox at gmail.com> wrote:
>
> From: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
>
> Add long texts for
>
> * EFI HTTP Protocol
> * EFI HTTP Service Binding Protocol
> * EFI IPv4 Configuration II Protocol
>
> to the uuid library.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Signed-off-by: Adriano Cordova <adrianox at gmail.com>
> ---
> lib/uuid.c | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/lib/uuid.c b/lib/uuid.c
> index c6a27b7d04..dfc8218fb5 100644
> --- a/lib/uuid.c
> +++ b/lib/uuid.c
> @@ -174,6 +174,20 @@ static const struct {
> "Firmware Management",
> EFI_FIRMWARE_MANAGEMENT_PROTOCOL_GUID
> },
> +#ifdef CONFIG_EFI_HTTP_PROTOCOL
Can you change this to
#if IS_ENABLED(...)
> + {
> + "HTTP",
> + EFI_HTTP_PROTOCOL_GUID,
> + },
> + {
> + "HTTP Service Binding",
> + EFI_HTTP_SERVICE_BINDING_PROTOCOL_GUID,
> + },
> + {
> + "IPv4 Config2",
> + EFI_IP4_CONFIG2_PROTOCOL_GUID,
> + },
> +#endif
> /* Configuration table GUIDs */
> {
> "ACPI table",
> --
> 2.43.0
>
With the above
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
More information about the U-Boot
mailing list