summaryrefslogtreecommitdiff
path: root/include/env_callback.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-10-03 16:09:30 -0600
committerTom Rini <trini@konsulko.com>2024-10-03 16:09:40 -0600
commit00292c6b39b3f7dcb34e8c3ae6ef276ac862a146 (patch)
tree0aac05f77ce8ee043acb0391680d33b0f356c92b /include/env_callback.h
parent0d28900dd171d3444ea16d9cc18af35a90c03e27 (diff)
parentc74758ccc091402b558b9aa7eaf1c50171d2f49f (diff)
Merge tag 'u-boot-dfu-next-20241003' of https://source.denx.de/u-boot/custodians/u-boot-dfu into next
u-boot-dfu-next-20241003 CI: https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/22516 DFU: - Reinitialize only if dfu_alt_info changed USB Gadget: - New usb gadget driver for Renesas USBHS - Simplify kconfig deps for CMD_USB_MASS_STORAGE Android: - Provide bootloader version to android via kernel commandline
Diffstat (limited to 'include/env_callback.h')
-rw-r--r--include/env_callback.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/env_callback.h b/include/env_callback.h
index 8e500aaaf80..66cc8309e71 100644
--- a/include/env_callback.h
+++ b/include/env_callback.h
@@ -69,6 +69,12 @@
#define BOOTSTD_CALLBACK
#endif
+#ifdef CONFIG_DFU
+#define DFU_CALLBACK "dfu_alt_info:dfu_alt_info,"
+#else
+#define DFU_CALLBACK
+#endif
+
/*
* This list of callback bindings is static, but may be overridden by defining
* a new association in the ".callbacks" environment variable.
@@ -79,6 +85,7 @@
NET_CALLBACKS \
NET6_CALLBACKS \
BOOTSTD_CALLBACK \
+ DFU_CALLBACK \
"loadaddr:loadaddr," \
SILENT_CALLBACK \
"stdin:console,stdout:console,stderr:console," \