From: Simon Glass Date: Mon, 19 Feb 2018 08:48:19 -0700 Subject: [U-Boot] [PATCH v3 13/21] Add a comment for board_quiesce_devices() In-Reply-To: <20180219154827.215990-1-sjg@chromium.org> References: <20180219154827.215990-1-sjg@chromium.org> Message-ID: <20180219154827.215990-14-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- Changes in v3: None Changes in v2: None include/bootm.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/bootm.h b/include/bootm.h index 76b6ab42e6..caf331f54b 100644 --- a/include/bootm.h +++ b/include/bootm.h @@ -73,6 +73,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 at chromium.org>): Update this to use driver model's device_remove(). + */ void board_quiesce_devices(void); #endif -- 2.16.1.291.g4437f3f132-goog