summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-09-28 16:45:05 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-29 10:25:02 +0200
commit5a5c5178e7dc6a58a059fe4a1f4167a31809ccaf (patch)
tree0e651561524a6e8ff4086ca7c8aa5ba67370c2cd /include/linux
parentd877a4436bb960e6b942510c3de37b9bd048c1ba (diff)
downloadbarebox-5a5c5178e7dc6a58a059fe4a1f4167a31809ccaf.tar.gz
barebox-5a5c5178e7dc6a58a059fe4a1f4167a31809ccaf.tar.xz
usbgadget: autostart: support delayed usbgadget.autostart=1
So far, global.usbgadget.autostart=1 from the shell was without effect, because the variable is only evaluated once at postenvironment_initcall. Use the new globalvar_add_bool() to allow acting on the variable being true at any time. This is necessary for scripts that want to enable the usbgadget autostart functionality selectively without themselves hardcoding the particularities of what is exported. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions