From: Frieder Schrempf <[email protected]> This is useful for development and manufacturing setups as fastboot can be used without requiring any user input on the device.
Signed-off-by: Frieder Schrempf <[email protected]> --- board/kontron/sl-mx8mm/sl-mx8mm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/board/kontron/sl-mx8mm/sl-mx8mm.c b/board/kontron/sl-mx8mm/sl-mx8mm.c index cf71a4cf367..220c9701ca5 100644 --- a/board/kontron/sl-mx8mm/sl-mx8mm.c +++ b/board/kontron/sl-mx8mm/sl-mx8mm.c @@ -167,6 +167,11 @@ int board_late_init(void) env_set("touch_rst_gpio", "87"); } + if (is_usb_boot()) { + env_set("bootcmd", "fastboot 0"); + env_set("bootdelay", "0"); + } + return 0; } -- 2.51.0

