]> git.dujemihanovic.xyz Git - u-boot.git/commit
event: Add events for device probe/remove
authorSimon Glass <sjg@chromium.org>
Fri, 4 Mar 2022 15:43:03 +0000 (08:43 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 10 Mar 2022 13:28:36 +0000 (08:28 -0500)
commit5b896ed5856f768cdd55cdeb44c5f8f6b6a7a18a
tree427918a7828619a8620cd9b95d547539c9eb6733
parent5a4219043d659514316e41d3d09866030c773e78
event: Add events for device probe/remove

Generate events when devices are probed or removed, allowing hooks
to be added for these situations.

This is controlled by the DM_EVENT config option.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/event.c
drivers/core/Kconfig
drivers/core/device-remove.c
drivers/core/device.c
include/dm/device-internal.h
include/event.h
test/common/event.c