[U-Boot] bootstopkey reason behind it

Stefano Babic sbabic at denx.de
Fri Aug 2 13:35:04 CEST 2013


On 02/08/2013 07:58, Paavaanan_T_N at Dell.com wrote:
> Hi,
> 
> To stop autoboot we have 2 ifdef  (CONFIG_AUTOBOOT_STOP_ [STR2 ||
> STR1] ). Which is very easy and straightforward to implement. Halting
> a boot with single "Keystroke" is having its own advantages to the
> user. But, why multiple key support is ignored say like [ctrl +
> anykey ] combination. Especially, BIOS vendors prefer at least
> simultaneous pressing of 2 or more keys to halt the boot. Any
> specific reasons to avoid this. Other than simplicity is there any
> specific reason to stick on this.
> 
> I mean why  simultaneous two key press support is avoided and
> implemented  a secondary bootstopkey to halt the boot say like
> CONFIG_AUTOBOOT_STOP_STR2.

But does not the keyboard send a single key code ? Maybe it is enough
you put in CONFIG_AUTOBOOT_STOP_STR1 the keycode of your CTRL+key.

Best regards,
Stefano Babic



-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list