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::244; helo=mail-pf0-x244.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (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 6D558207DF47E for ; Fri, 27 Apr 2018 22:41:30 -0700 (PDT) Received: by mail-pf0-x244.google.com with SMTP id p12so2961644pff.13 for ; Fri, 27 Apr 2018 22:41:30 -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=hYbYfSYYG6/2nymSNcxj5sJC7EBouMAIqTqj7dhQlEI=; b=G1QG9XVCagKRd//C7XN31zavmAdNQa5AyQLa1AZejn2LXHzXDb3vNWug4c4ASxlPDV 2qmXi8DHJ+nWFUjUrjN3cLcvVyM9npuK5QH9s5oyd9Hh6JyyWOs9WT6GMRHL0yyoRpOx YqlkL3W8Ba9HMa0fweGh/72vFnMgEQUaqs/7w= 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=hYbYfSYYG6/2nymSNcxj5sJC7EBouMAIqTqj7dhQlEI=; b=ALOg8pQTfRj1Mmuar91snQVUMmZZMOceENquVEglGtBNLBR9B0c+WkhbSCDpennr/F 7W6b9dhAoz41EhAXGTKzBKPVe2Ydqx3FHLkGwAkItgdTzBBSgU6kdN6YI54BnO5V0u+x iXx60aaNDv17tqwYWEJ1Ma7QPdO+bD6xKsPkHrPW8nQxp+Wz2ND+8encQ0W8r9zEd03u zLPtQ4ts1YBC6UBFvx9ITkQEmMEOjSMzudnXZ0GvtiJ8fYBKv82XgagOZTE5Q69XDuVI OoQAbDfpEn3oR0eNGU+WcZvRZ+sx/zjx0YupzISzjkkrkP3TIOpncB088nRZhAuuNGn9 4seA== X-Gm-Message-State: ALQs6tCmtMbh4P3s7p3lQfQKikbLFdyQLKJSUb87dE/CYeonrqNeccDE 8JIoXjGYl9lzVpzj1oAEM+q9geA9JxU= X-Google-Smtp-Source: AB8JxZqvSB/nJpEgNJDuE+/or3G9CoOWG04w2dzOmQ32v6qU3nxzj1Dago7SiXQLL46mWZ22vKeKjA== X-Received: by 10.98.118.130 with SMTP id r124mr4660698pfc.80.1524894089676; Fri, 27 Apr 2018 22:41:29 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.141]) by smtp.gmail.com with ESMTPSA id b89sm5983111pfd.85.2018.04.27.22.41.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Apr 2018 22:41:28 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Cc: Haojian Zhuang , Laszlo Ersek , Leif Lindholm , Ard Biesheuvel Date: Sat, 28 Apr 2018 13:41:19 +0800 Message-Id: <1524894081-17567-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH edk2-platforms v7 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: Sat, 28 Apr 2018 05:41:30 -0000 Changelog: v7: * Fix memory leakage on DevicePath. v6: * Remove redundant definition -- "GRUB_FILE_NAME". 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 | 163 ++++++++++++++++++++ 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 | 164 +++++++++++++++++++++ .../Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.inf | 11 ++ 8 files changed, 375 insertions(+), 12 deletions(-) copy Platform/Hisilicon/{HiKey/HiKey.dec => HiKey960/HiKey960.dec} (56%) Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Ard Biesheuvel -- 2.7.4