Add a comment for board_quiesce_devices()
This exported function should have a comment describing what it does. Also
it should really be removed in favour of device_remove(), which handles
this sort of thing now. Add a comment with a TODO.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
diff --git a/include/bootm.h b/include/bootm.h
index 9f7956d..0501414 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -72,6 +72,12 @@
void *load_buf, void *image_buf, ulong image_len,
uint unc_len, ulong *load_end);
+/*
+ * boards should define this to disable devices when EFI exits from boot
+ * services.
+ *
+ * TODO(sjg@chromium.org>): Update this to use driver model's device_remove().
+ */
void board_quiesce_devices(void);
#endif