]> git.sur5r.net Git - u-boot/commit
dm: core: Add flags parameter to device_remove()
authorStefan Roese <sr@denx.de>
Mon, 20 Mar 2017 11:51:48 +0000 (12:51 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 02:15:10 +0000 (20:15 -0600)
commit706865afe54eee83c1f3d7e9ea2f51db8e986d7b
treee5be7f7819dc9218c850d26d0551b6eedb88f198
parent11db152246607868f0e74db958947fbf79f28119
dm: core: Add flags parameter to device_remove()

This patch adds the flags parameter to device_remove() and changes all
calls to this function to provide the default value of DM_REMOVE_NORMAL
for "normal" device removal.

This is in preparation for the driver specific pre-OS (e.g. DMA
cancelling) remove support.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
21 files changed:
arch/x86/cpu/queensbay/tnc.c
cmd/cros_ec.c
cmd/sf.c
drivers/block/blk-uclass.c
drivers/block/sandbox.c
drivers/core/device-remove.c
drivers/core/device.c
drivers/core/root.c
drivers/core/uclass.c
drivers/mmc/mmc-uclass.c
drivers/mtd/spi/sandbox.c
drivers/mtd/spi/sf-uclass.c
drivers/spi/spi-uclass.c
drivers/usb/emul/sandbox_hub.c
drivers/usb/host/usb-uclass.c
include/dm/device-internal.h
include/dm/device.h
test/dm/bus.c
test/dm/core.c
test/dm/eth.c
test/dm/spi.c