Re: [PATCH] common: add custom autoboot_abort_key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johannes,

On Mon, Sep 16, 2024 at 03:53:00PM +0200, Johannes Schneider wrote:
> Add the Kconfig options to select a compile-time custom key(s) that
> can be used to enter the console when barebox prompts for:
> "Hit <custom_key> to stop autoboot."

Having a custom key to stop autoboot is generally fine. Defining the key
at compile time not so.

Instead we could convert autoboot_abort_key from
globalvar_add_simple_enum() to dev_add_param_string(&global_device,...)
the set function could then accept "any", "ctrl-c" or any other single
digit string.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux