On Fri, Aug 13, 2021 at 10:32:21AM +0200, Marco Felsch wrote: > Without this change the only possible way to start the > fastboot.net.autostart mechanism is by using the nv storage. Split > fastboot_on_boot() into two functions: > - a globalvar setter fastboot_net_autostart_set() and > - a the globalvar init function fastboot_net_init_globalvar(). > This allows init scripts to start the autostart mechanism as well. > > Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > --- > net/fastboot.c | 19 +++++++++++++------ > 1 file changed, 13 insertions(+), 6 deletions(-) Applied, thanks 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 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox