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

Bin Meng bmeng.cn at gmail.com
Tue Mar 21 02:24:50 CET 2023


Hi Simon,

On Tue, Mar 21, 2023 at 2:40 AM Simon Glass <sjg at chromium.org> wrote:
>
> Hi Bin,
>
> On Mon, 20 Mar 2023 at 19:32, Bin Meng <bmeng.cn at gmail.com> wrote:
> >
> > 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?
>
> Actually it causes the keyboard to fail on Brya (Felwinter), a
> Chromebook. It could be due to it having a numeric keypad.

I assume Linux kernel will do the keyboard re-init no matter what
bootloader does. So does Linux kernel fail to re-init the keyboard? If
no, I guess we could improve the U-Boot keyboard driver somehow?


More information about the U-Boot mailing list