[PATCH 03/13] input: Only reset the keyboard when running bare metal

Bin Meng bmeng.cn at gmail.com
Mon Mar 20 07:32:06 CET 2023


Hi Simon,

On Tue, Feb 21, 2023 at 3:49 AM Simon Glass <sjg at chromium.org> wrote:
>
> If U-Boot is not the first-stage bootloader we should not init the
> keyboard, since it has already been done. Check for this.

But re-init does no harm, right?

>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/input/i8042.c | 13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)
>

Regards,
Bin


More information about the U-Boot mailing list