From patchwork Tue Apr 17 05:11:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 133505 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp4320890ljb; Mon, 16 Apr 2018 22:11:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx49lDjMo/LID6rGCVasy1QVE13/zUSD/PxaqwZN3ySCNkCgWqlXR7lGHwqTZBJnPmJxXNaoH X-Received: by 10.98.217.221 with SMTP id b90mr661117pfl.113.1523941884254; Mon, 16 Apr 2018 22:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523941884; cv=none; d=google.com; s=arc-20160816; b=uByaaw4Ns4K2lKkxgd8g8aXaUyyzYnQjoYvhs/F+y58IQu4N0Uf0ABUULS5ZTvzgj5 XOW6oj9Xn7YzWO25ma8XFCirMDbbrYf8n2vicRE8vB9I8+mfRX0xUfXZKm6xXadMAI/A kdH4PcEMMZliIPGVDWU7QQ2J2YoNlQ+RPC8JBQVGMFbboXX3S6oYjLFrzMS8VuGl//S2 vpQ36FlsftO+h+8h5P0k+ke7dHUnhixMBxaZp9TnW0u/UoWtDLmShnLOXVDnucljnmMu Yilcy+1I29uuVhLvXulTN3N2LYOzLKAagNoiqzIsLqpfCJwx5q51K3136hzul262POAh qSzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=IaOk4vi1Hge+gcA7i0yaC9I8Mo1lZxP5efVZX28vQDs=; b=g4w2M0GkZz4LvZv7ejJB/Vs0avZqyoT7Ueh00S824ItDt8SZMnVnS4he9+NCc9iEG1 QIKtSofccOvx7Cfxkqyak1bLZ2KFu+HuMeiTz+H2tBW1pasuQbbjqSGPHLSZJsaIyP+a C1mRscahZQQhCunk3vAj6/2J7yV9/RNaFD6DvSET/hdWxAvwT4Sq14WYla+kPrM0fDWh 7tBFOKOmDKzTX5nDZL0D2SKIB6nLenfhKouPc6qaGArWgTBrX6aqH9i6Z+SE47+sZFk3 l92dHOwnBIGHVoBnGiPuKIvbvd+9qpL1DL5aefx62N2d6ghaPXNqV61TclGogJswUvuS 9Qgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hLhdI8za; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id p17-v6si5659009plo.363.2018.04.16.22.11.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 22:11:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hLhdI8za; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 887F222590E3E; Mon, 16 Apr 2018 22:11:23 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c05::22f; helo=mail-pg0-x22f.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg0-x22f.google.com (mail-pg0-x22f.google.com [IPv6:2607:f8b0:400e:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4555C22590E38 for ; Mon, 16 Apr 2018 22:11:21 -0700 (PDT) Received: by mail-pg0-x22f.google.com with SMTP id b9so4874495pgf.6 for ; Mon, 16 Apr 2018 22:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=KeTnOKRaZz9gUg9JaaL6r0BO8EUPCwS534K8ZKs0fmU=; b=hLhdI8zar4i/RWEv6EeIaL6sRUcBhHCjmsQCRl+VmNv5qPQRgqAt8JLqh5MsoIJlG3 yY8oGDMzlHP4cL998r4Buvv+Fiq2WH+sc4pulztNwFo+SW+8wT/hsRLtRHnhoEZn4lmn 3G1aGnkz2CgiutF5dxb8QF7V9Csy7QNB4Fy+I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KeTnOKRaZz9gUg9JaaL6r0BO8EUPCwS534K8ZKs0fmU=; b=R75otRwHiijVJ87dyND3VjAyHzKBbN8JD4/v4WGNWN5nVhYutupRCCWkOZB6kFEKCS IiPdtpy+I/0CCyxmcG4EBEC4o1TshxVUHGFBCpAjxTmC1chcWljEbl6jukq45JYxmKKN iVidXKhg9tCrIJANwP1mmSQrYiZcd6bqBlYpdiX61kLEGX2yZVbizGdI+sYuva36dduA tcnxKnUoiYs5iEZTNUsOifHEcIzh2p5W0l5K2q5CQ8MQmM+hDilaGEsKFFZJ2Clw+A92 olw4D29YXI15j/gcU9/y6+vtfa2jZFr5QaGXs9LKtQeUCHoFets4Z8rxGBLFioPGs8/w UZ1g== X-Gm-Message-State: ALQs6tCCsqkpEVgst99AujWsj5o63gC0IrieewW/dYFZi77y0mxcHq26 v4pv5YDjLHO50vFS/ZbOGOJfJ71GO/0= X-Received: by 10.101.85.11 with SMTP id f11mr613279pgr.252.1523941881131; Mon, 16 Apr 2018 22:11:21 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.57]) by smtp.gmail.com with ESMTPSA id b184sm25545499pfg.110.2018.04.16.22.11.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Apr 2018 22:11:20 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Tue, 17 Apr 2018 13:11:11 +0800 Message-Id: <1523941872-16197-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH v2 0/1] load boot options from platform X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Haojian Zhuang MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Changelog: v2: * Avoid to use hardcoding value. Create boot options by functions. Haojian Zhuang (1): ArmPkg/PlatformBootManagerLib: load boot options from platform ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 81 ++++++++++++++++++++++ .../PlatformBootManagerLib.inf | 2 + EmbeddedPkg/EmbeddedPkg.dec | 1 + EmbeddedPkg/Include/Protocol/PlatformBootManager.h | 39 +++++++++++ 4 files changed, 123 insertions(+) create mode 100644 EmbeddedPkg/Include/Protocol/PlatformBootManager.h -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel