[PATCH v7 2/3] x86: coreboot: Drop USB init on startup

Bin Meng bmeng.cn at gmail.com
Thu Sep 21 23:59:50 CEST 2023


On Thu, Sep 21, 2023 at 9:37 PM Simon Glass <sjg at chromium.org> wrote:
>
> This is very annoying as it is quite slow on many machines. Also, U-Boot
> has an existing 'preboot' mechanism to enable this feature if desired.
>
> Drop this code so that it is possible to choose whether to init USB or
> not.
>
> Use the existing USE_PREBOOT mechanism instead.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v7:
> - Add docs about how USB keyboard works on coreboot
>
> Changes in v5:
> - Make use of the uSE_PREBOOT mechanism
>
>  arch/x86/cpu/coreboot/Kconfig    | 1 +
>  arch/x86/cpu/coreboot/coreboot.c | 4 ----
>  doc/board/coreboot/coreboot.rst  | 7 +++++++
>  3 files changed, 8 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

series applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list