aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass2018-05-16 09:42:26 -0600
committerAlexander Graf2018-06-03 15:27:21 +0200
commit896019b18b0a6f9392fa234c082ef492e1630cc3 (patch)
treeb41cd5fa6ad6a3a0ade436b8b64b6ec386cb48fc
parent329da4850c61994b83c025da68e1966a1259fd00 (diff)
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>
-rw-r--r--include/bootm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/bootm.h b/include/bootm.h
index 9f7956d2e35..0501414e0dc 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -72,6 +72,12 @@ int bootm_decomp_image(int comp, ulong load, ulong image_start, int type,
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