Message ID | 20171204212832.130100-13-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Alexander Graf |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="J545l5EN"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yrJ8C5Pbkz9s7g for <incoming@patchwork.ozlabs.org>; Tue, 5 Dec 2017 08:35:39 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 6DCE3C21F8C; Mon, 4 Dec 2017 21:33:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B96AEC220AF; Mon, 4 Dec 2017 21:29:57 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7F71BC220A2; Mon, 4 Dec 2017 21:28:56 +0000 (UTC) Received: from mail-it0-f68.google.com (mail-it0-f68.google.com [209.85.214.68]) by lists.denx.de (Postfix) with ESMTPS id C7AC7C21DDE for <u-boot@lists.denx.de>; Mon, 4 Dec 2017 21:28:52 +0000 (UTC) Received: by mail-it0-f68.google.com with SMTP id b5so16405023itc.3 for <u-boot@lists.denx.de>; Mon, 04 Dec 2017 13:28:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Orr4x7PJnHvxW+jW1AWY+Klu5R9C2zfFM6jQihTo35g=; b=J545l5ENAoCRu4+TGaTFmjLy8EYMhIUvwNaFCP+HdwQ8PtEs8g7Tjeixkecl7DoEgI /VsNn0UOjFayDe4eOf3a3BGycDhgvTHXO//g/0rcQyOtplEQltEtUVfJ2vtIKWi/pYwy 7grne2GvDat+0mUTY5TdEZYcoeSJUcGXZti/IiPqkt/9mCU5KIVvSBZW0uxHsXsoVMUq rjvG0vjOQVr2u2yeS8Z4gUxeG/LE2Hf+rg6ko6jwQLhmfE3iyv/6uqvlVoaYkupx+MS1 VQiLRyrrIdhqD5S96GOr3ZG2qY6JkiJUdCFW6Ozim5nIeHaH3Cf86f9sfls5MGz4Pggk ptSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Orr4x7PJnHvxW+jW1AWY+Klu5R9C2zfFM6jQihTo35g=; b=MZ4C3anHn/SKGs7w1Z7MxhuvF4+plPha28yGQFBt8ptsz+7yT6jO/iM5mZuSnt4huX AdDAPub9DtNlYCuTnuyo0VHateWC8JzE2xW2hEuOBmmxNThBCyWj0OP016m5FnmahLEJ jXjUQif4APxMGDrtQZLF50Fyj6N++YFZaH1u9NX4OowWTBxSJoI0VmWfn8UcAYbepyYA ZLmiQkNtnmwtyG1QvanRAQhb9raExlt/+qNpZ6rorfRYPJICm6tg8AXBfY+bj97/uBkm PH5sC+X92tHj8/UjlCQ+FoLJ/qO0LJfFRIDvBOOcWfOKjSOCTZOtPo9gmKy+uMmulHbQ FEeg== X-Gm-Message-State: AKGB3mItM3UsnLGNEwaCU1EjpHDHTpOTC2FUszsmAyUVz9ja8vau2nKv 2DXc7Iyur42cm8B+KKnhCgfsuQ== X-Google-Smtp-Source: AGs4zMYDcvx8Jf6d+7DqRZLIHlHzruUhzz+ITDdXtMooQAzARVj+THMcNJN07TKGi9MPW/KbwNA/vg== X-Received: by 10.36.218.69 with SMTP id z66mr6450947itg.131.1512422931306; Mon, 04 Dec 2017 13:28:51 -0800 (PST) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:51dd:225b:4557:7c0e]) by smtp.gmail.com with ESMTPSA id v71sm6208273ioi.64.2017.12.04.13.28.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 13:28:50 -0800 (PST) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id 36B05143C42; Mon, 4 Dec 2017 14:28:49 -0700 (MST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Mon, 4 Dec 2017 14:28:28 -0700 Message-Id: <20171204212832.130100-13-sjg@chromium.org> X-Mailer: git-send-email 2.15.0.531.g2ccb3012c9-goog In-Reply-To: <20171204212832.130100-1-sjg@chromium.org> References: <20171204212832.130100-1-sjg@chromium.org> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Alexander Graf <agraf@suse.de> Subject: [U-Boot] [PATCH v2 12/16] Add a comment for board_quiesce_devices() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
efi: Enable basic sandbox support for EFI loader
|
expand
|
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@chromium.org>): Update this to use driver model's device_remove(). + */ void board_quiesce_devices(void); #endif
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 v2: None include/bootm.h | 6 ++++++ 1 file changed, 6 insertions(+)