diff mbox series

[U-Boot,v4,09/16] Add a comment for board_quiesce_devices()

Message ID 20180516154233.21457-10-sjg@chromium.org
State Accepted
Delegated to: Alexander Graf
Headers show
Series efi: Enable basic sandbox support for EFI loader | expand

Commit Message

Simon Glass May 16, 2018, 3:42 p.m. UTC
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>
---

Changes in v4: None
Changes in v3: None
Changes in v2: None

 include/bootm.h | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Alexander Graf May 24, 2018, 12:43 p.m. UTC | #1
> 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>

Thanks, applied to efi-next

Alex
diff mbox series

Patch

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