From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c00::241; helo=mail-pf0-x241.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (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 D90C72282E592 for ; Tue, 24 Apr 2018 21:59:44 -0700 (PDT) Received: by mail-pf0-x241.google.com with SMTP id l27so14148931pfk.12 for ; Tue, 24 Apr 2018 21:59:44 -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=9ajAo4MS+d2PnQlQJzY+xHbNpYG7HhGMaPz9cmmNtOg=; b=BmSEsgCFpPaFRck8WpGFnBP/2PURNEwEfBecvSmzrEML8QpaNfFkzioOrP9kuS4EAc OY97LV7Kczpc3MZ+B0RTXFq9wvPLwNf8mStdQC8wXqdF8jsn3CsUfbsJSvFPg653s9EE v9Ybyiv94bveUSqbPfrZMLVf8rp/9YvHoQw7o= 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=9ajAo4MS+d2PnQlQJzY+xHbNpYG7HhGMaPz9cmmNtOg=; b=g5rwT272VuSEIjVMLaJUF0Jj5HZvJPhxTcLWPPIz9b/5LFF3Z8fw3eleZiJLxiDJ1G aLbGbzPqA0wf9KChFXBfF0QoicLmzlGwMco5GdEuHzCle3CNTISPndR3cAVXzR9vA3Zp 3lJyN7wRpQLnscah2NrpQbtgEpBPP5s4z3FA2bVX7CRRPKe43/nAsd2x3E5HhSOZnk/E dZ3VHCSo/EXS0HRYpAhqQWDfWvgS9fugqXWOhpZIlyxjh1A3JfdPJ0mpkqIMjFar+RcZ IoAix6Ufa/HdoQF9jnaseRTkO1i68NuCBRMD3npdxHI8N26TciB6o+02GwA/1mt6b713 X9qA== X-Gm-Message-State: ALQs6tBzlC6OP9rumtzIruApgt0J1AxY4eUNybmazZuIHkQCkKZSKbxB ZlYMYFsP7Kim/dhTdnfzDMUBkrYiz5o= X-Google-Smtp-Source: AIpwx4+jQ5iF/XbDNh0Lh5Bv2DTRWgCvQWCV1so0ra1OvH0Btf82PtJpmpwhmQ+oHAx5gIabgC+rFQ== X-Received: by 10.98.213.8 with SMTP id d8mr21556600pfg.234.1524632384208; Tue, 24 Apr 2018 21:59:44 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.65]) by smtp.gmail.com with ESMTPSA id 142sm18061455pgg.86.2018.04.24.21.59.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Apr 2018 21:59:43 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Cc: Haojian Zhuang Date: Wed, 25 Apr 2018 12:59:34 +0800 Message-Id: <1524632376-23501-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH edk2-platforms v5 0/2] add platform boot options 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: , X-List-Received-Date: Wed, 25 Apr 2018 04:59:45 -0000 Changelog: v5: * Avoid to merge device path and grub's file path in driver. Merge them directly in DSC file. * Avoid duplicated code to create boot options. * Use goto to handle error condition. v4: * Add BootCount parameter in the interface. v3: * Move in initilization of boot entry. * Update the name of interface in platform boot manager protocol. v2: * Update with platform boot manager protocol. Haojian Zhuang (2): Platform/HiKey960: register predefined boot options Platform/HiKey: create 4 boot options Platform/Hisilicon/HiKey/HiKey.dec | 8 +- Platform/Hisilicon/HiKey/HiKey.dsc | 7 + Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.c | 171 ++++++++++++++++++++ Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.inf | 11 ++ .../{HiKey/HiKey.dec => HiKey960/HiKey960.dec} | 17 +- Platform/Hisilicon/HiKey960/HiKey960.dsc | 6 + .../Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.c | 172 +++++++++++++++++++++ .../Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.inf | 11 ++ 8 files changed, 391 insertions(+), 12 deletions(-) copy Platform/Hisilicon/{HiKey/HiKey.dec => HiKey960/HiKey960.dec} (56%) -- 2.7.4