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 B961D202E5F0F for ; Wed, 25 Apr 2018 20:30:42 -0700 (PDT) Received: by mail-pf0-x244.google.com with SMTP id j5so17047665pfh.2 for ; Wed, 25 Apr 2018 20:30:42 -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=XhAN4ATBlahjG0OWUlUy5Xm3n//s73A21HnsP3Bws+4=; b=QkhF9KpozkfaDNakxWlHcygj+gmISEBsZ7sz3dIPOqqF39Ktt5h1j7LtLOxDF0IpUC F/OeBCuW5O3duAG+bj8wQn22QwHofsOvSYo0MmSqdjEcMXv1bOYlU11Bl2hq95RME4jl zNKAGrOIvnMPCZDbQAhVHEezx1pG+5e+vExnM= 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=XhAN4ATBlahjG0OWUlUy5Xm3n//s73A21HnsP3Bws+4=; b=L5bz1fVC1pIckkhB0or58ed9SlJJSxYhLKJNEaIKpzJajPAh1BQ9htOm6CHvEm+4Gs aJgQVfmOgoy/ynix1znr03VMjgivtFr/0fD2YsOAX4E8Reav8QzLu7pQwGCYb0gcnKO7 ++f9Dj1Gl2JOfNkYgkoxif5GztqFo51tNvdvl1MO/gHg6uxH6snRbnUcq/XWfH9yIgY5 B5prnduqNE7C7qtltjbKho9D68TJDPogeCpgSCTeRj42RVSqKubrmpP0/RCvEhfpeT3C dKLhNOcBSyT7I+jdVTYcqq4+oM17y3KXiAUDeMYaP5ZRPoXwY5Kjh1q2gwES7ociGjyd FAcw== X-Gm-Message-State: ALQs6tDn6BAln2QWiqSCw/mfTrPgxSP2coK6L1o1JjiDh8b91/tjHBkx TBcHJTyrx+OXEFyBgp2ecCj/9T3Wem8= X-Google-Smtp-Source: AIpwx4/O2KeqJ6K/1RyDQXnbM/QLugZLFw3TrMCcDUqkrKalzrlzix9wCWP720hb4+yTmpSB3WZtSg== X-Received: by 2002:a17:902:7007:: with SMTP id y7-v6mr31761557plk.227.1524713441750; Wed, 25 Apr 2018 20:30:41 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.109]) by smtp.gmail.com with ESMTPSA id u4sm30615147pfh.120.2018.04.25.20.30.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Apr 2018 20:30:40 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Cc: Haojian Zhuang , Laszlo Ersek , Leif Lindholm , Ard Biesheuvel Date: Thu, 26 Apr 2018 11:30:32 +0800 Message-Id: <1524713434-9553-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH edk2-platforms v6 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: Thu, 26 Apr 2018 03:30:42 -0000 Changelog: 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 | 169 ++++++++++++++++++++ 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 | 170 +++++++++++++++++++++ .../Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.inf | 11 ++ 8 files changed, 387 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