public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/1] efi_loader: enable HII protocols by default
@ 2019-04-07 22:03 Heinrich Schuchardt
  2019-04-12  2:29 ` AKASHI Takahiro
  0 siblings, 1 reply; 3+ messages in thread
From: Heinrich Schuchardt @ 2019-04-07 22:03 UTC (permalink / raw)
  To: u-boot

As the UEFI shell requires the HII protocols let's enable them by default.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 lib/efi_loader/Kconfig | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 23487b8130..a6489ca534 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -38,14 +38,11 @@ config EFI_LOADER_BOUNCE_BUFFER
 config EFI_LOADER_HII
 	bool "Expose HII protocols to EFI applications"
 	depends on EFI_LOADER
-	default n
+	default y
 	help
 	  The Human Interface Infrastructure is a complicated framework that
 	  allows UEFI applications to draw fancy menus and hook strings using
 	  a translation framework.

 	  U-Boot implements enough of its features to be able to run the UEFI
-	  Shell, but not more than that. The code is experimental still, so
-	  beware that your system might break with HII enabled.
-
-	  If unsure, say n.
+	  Shell, but not more than that.
--
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH 1/1] efi_loader: enable HII protocols by default
  2019-04-07 22:03 [U-Boot] [PATCH 1/1] efi_loader: enable HII protocols by default Heinrich Schuchardt
@ 2019-04-12  2:29 ` AKASHI Takahiro
  2019-04-12  4:25   ` Heinrich Schuchardt
  0 siblings, 1 reply; 3+ messages in thread
From: AKASHI Takahiro @ 2019-04-12  2:29 UTC (permalink / raw)
  To: u-boot

On Mon, Apr 08, 2019 at 12:03:01AM +0200, Heinrich Schuchardt wrote:
> As the UEFI shell requires the HII protocols let's enable them by default.

Is there still any reason that we have this config option at all?

> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  lib/efi_loader/Kconfig | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)
> 
> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
> index 23487b8130..a6489ca534 100644
> --- a/lib/efi_loader/Kconfig
> +++ b/lib/efi_loader/Kconfig
> @@ -38,14 +38,11 @@ config EFI_LOADER_BOUNCE_BUFFER
>  config EFI_LOADER_HII
>  	bool "Expose HII protocols to EFI applications"
>  	depends on EFI_LOADER
> -	default n
> +	default y
>  	help
>  	  The Human Interface Infrastructure is a complicated framework that
>  	  allows UEFI applications to draw fancy menus and hook strings using
>  	  a translation framework.
> 
>  	  U-Boot implements enough of its features to be able to run the UEFI
> -	  Shell, but not more than that. The code is experimental still, so
> -	  beware that your system might break with HII enabled.

I don't think it's experimental, but just not fully implemented
in terms of UEFI specification. This is also true for other UEFI features
on U-Boot.
Since a some kind of bug regarding HII was reported, I haven't seen
any bug fix relating to that. (I doubt it was a bug.)

-Takahiro Akashi

> -	  If unsure, say n.
> +	  Shell, but not more than that.
> --
> 2.20.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH 1/1] efi_loader: enable HII protocols by default
  2019-04-12  2:29 ` AKASHI Takahiro
@ 2019-04-12  4:25   ` Heinrich Schuchardt
  0 siblings, 0 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2019-04-12  4:25 UTC (permalink / raw)
  To: u-boot

On 4/12/19 4:29 AM, AKASHI Takahiro wrote:
> On Mon, Apr 08, 2019 at 12:03:01AM +0200, Heinrich Schuchardt wrote:
>> As the UEFI shell requires the HII protocols let's enable them by default.
>
> Is there still any reason that we have this config option at all?

I have been thinking about the same when writing the patch. I suggest to
remove the config option in v2019.10 if no errors are found in the
v2019.07 cycle.

>
>> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
>> ---
>>   lib/efi_loader/Kconfig | 7 ++-----
>>   1 file changed, 2 insertions(+), 5 deletions(-)
>>
>> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
>> index 23487b8130..a6489ca534 100644
>> --- a/lib/efi_loader/Kconfig
>> +++ b/lib/efi_loader/Kconfig
>> @@ -38,14 +38,11 @@ config EFI_LOADER_BOUNCE_BUFFER
>>   config EFI_LOADER_HII
>>   	bool "Expose HII protocols to EFI applications"
>>   	depends on EFI_LOADER
>> -	default n
>> +	default y
>>   	help
>>   	  The Human Interface Infrastructure is a complicated framework that
>>   	  allows UEFI applications to draw fancy menus and hook strings using
>>   	  a translation framework.
>>
>>   	  U-Boot implements enough of its features to be able to run the UEFI
>> -	  Shell, but not more than that. The code is experimental still, so
>> -	  beware that your system might break with HII enabled.
>
> I don't think it's experimental, but just not fully implemented
> in terms of UEFI specification. This is also true for other UEFI features
> on U-Boot.

That is exactly why I removed those lines.

Best regards

Heinrich

> Since a some kind of bug regarding HII was reported, I haven't seen
> any bug fix relating to that. (I doubt it was a bug.)
>
> -Takahiro Akashi
>
>> -	  If unsure, say n.
>> +	  Shell, but not more than that.
>> --
>> 2.20.1
>>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-12  4:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-07 22:03 [U-Boot] [PATCH 1/1] efi_loader: enable HII protocols by default Heinrich Schuchardt
2019-04-12  2:29 ` AKASHI Takahiro
2019-04-12  4:25   ` Heinrich Schuchardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox