Skip to content

Commit

Permalink
Add a comment for board_quiesce_devices()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
  • Loading branch information
sjg20 authored and agraf committed Jun 3, 2018
1 parent 329da48 commit 896019b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/bootm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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([email protected]>): Update this to use driver model's device_remove().
*/
void board_quiesce_devices(void);

#endif

0 comments on commit 896019b

Please sign in to comment.