]> git.baikalelectronics.ru Git - uboot.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)
commitd5c2a6e8e76ac784e76f3267f0dfc89317cb9822
tree427918a7828619a8620cd9b95d547539c9eb6733
parent72e9776ccd83aad0fe3575ea84e9eefd855f2a6e
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