summaryrefslogtreecommitdiffstats
path: root/common/hush.c
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2021-08-13 10:32:21 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-08-23 16:09:26 +0200
commit0d0060b2380afc029bb0d91186ac340f7ac1023f (patch)
tree6f1606224ac3d50a32ef18d4bc6eb34eefd95261 /common/hush.c
parent688773c64c99f9a718daef5bfca541df48bb2098 (diff)
downloadbarebox-0d0060b2380afc029bb0d91186ac340f7ac1023f.tar.gz
barebox-0d0060b2380afc029bb0d91186ac340f7ac1023f.tar.xz
fastboot net: add setter for global.fastboot.net.autostart
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@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210813083221.31763-1-m.felsch@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/hush.c')
0 files changed, 0 insertions, 0 deletions