From patchwork Mon Jun 4 05:44:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 137614 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1084808lji; Sun, 3 Jun 2018 22:44:52 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKFzETWyY1jmKM2O3/VM9g9rczvoV1TP8HYtDkx17j2U/VHRVPNMviRHp7Q4QIgm/QMPtob X-Received: by 2002:a17:902:4545:: with SMTP id m63-v6mr20825584pld.268.1528091092105; Sun, 03 Jun 2018 22:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528091092; cv=none; d=google.com; s=arc-20160816; b=j2gKgATzvEXPLgg3OqtYBTDbhfsnDkaZ9hEOgCvUVCZRC3Utv4rGMMjjHJzWJTLEEe rMWJUIzgWTj5dLN6qoO2xtZ69zaLYYUQvDgcU7w5GiaW7tP24L3D4I/Oz3IbQ3xMF+76 +ov80fQOdHNUIpdm2/zDq+hIxhkdy8gEEKh1aUlgx9jUj9LxYrQJCRDmE5YEcJwumxgP KXbRQeWpG97/a6j0uoaServ6AE73BAAndb/UzXAcXMfe/MLz3s38v+KDgPUxQrZARmJ6 8zzU1TLKz/QROGGnkJsJ+6zd3piX05ifBg5HnChON7uXdfa6yOta0mDF32eD1x6uPIxL OcqQ== 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=NszDBC4UZmfdxNqWlOP0j2GDKGRBvuSNDWFWzLsvW2U=; b=QSrPTrm848r1mwMMU0sG0U/bHT/3QSBpcaPknpcCt1ffzAvLsr/ePTqJdXbXa645AC ZQ5/6wsvL5spjdjwYXA1JbVWtigGR5rirPGO8mgWK6++7m80YGRWrdMDOnh0VI26In+4 9X6M9CBJeaxz6ygGtkI+VmRfvGcYKX0x6dLmc19t8n7DaVFi6aO6td9fw5MO4UIUMuuF 6vkB36mpsIdpih9lXeeFkUkXdbO7YhSGqLy+L5pKfs2311k0ueGFk4mtnjVl8r619iBc 6Fvx8MrKVY0xU80LGItX/K9slm0MqD8ZxiDJDaNKY0T2L4724mqRdfsxV4LBSNpHrFfr vi3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XawSqS8H; 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 j7-v6si18237089plk.334.2018.06.03.22.44.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jun 2018 22:44:52 -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=XawSqS8H; 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 5BEB92096F33A; Sun, 3 Jun 2018 22:44:51 -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:c00::243; helo=mail-pf0-x243.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) (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 39A452096F334 for ; Sun, 3 Jun 2018 22:44:49 -0700 (PDT) Received: by mail-pf0-x243.google.com with SMTP id a22-v6so2200879pfo.12 for ; Sun, 03 Jun 2018 22:44:49 -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=PBqIY0V2VddJWHGbDcIuUGgYbK7U+oOhAzx9NE0lxH0=; b=XawSqS8HtcuwcnNrTFCjDyjgxSnlO6Rx/wKZMO13dG9pTQ/B3aFkqoI+dD55LQYDJ5 rUUOqS6MC51VjkUpKJUHuC31Mr4DSTZBvkWHEL2bQ1A/e7uEboL5Rdq1uWDY4PlvSmTM RAkkKhnOvFnvRCxsmSXnesx+IlHFNVIzkFlIY= 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=PBqIY0V2VddJWHGbDcIuUGgYbK7U+oOhAzx9NE0lxH0=; b=GgYhbvZBXaxXEuDnygcVRneGa2Nb7+1uzW1GH0y386rs6Cw62y662KouTzg1oh14S7 YF1ZJJjzrXOEV7iTtj8CQUE1T6QUjoYm5X+eSb6EO5u74XwLaGSLch6QChhRxcdCN8J5 3ajrIEqGjdQx9em136O8cT9c1cRQPrMDordXF0rAlq/jthQwOHkK4UQn8URXary50oOy enQCH5KQmS4FIlw0rAhaT3oWnAc2U4f3yO8YXd4wZtd7RVG2MSDA+V7Cq0vmzwQrVkCw oviIoNGiHgXuEqsNV2KrbnXRe9M+54Vw6z4kBxgnCz/5LP5ZlSwl8C0b0dQv6icYLhwa Z3fg== X-Gm-Message-State: ALKqPwetxKAUKIZLWVmZsJ4hcQ8s4mjf1ibRgXx7q8zsZ8UZou6dhetn WuF9bFSc8l0wB5A+PmUwLHYS5hNX3pM= X-Received: by 2002:a63:343:: with SMTP id 64-v6mr16397452pgd.354.1528091089239; Sun, 03 Jun 2018 22:44:49 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.95]) by smtp.gmail.com with ESMTPSA id x4-v6sm76669262pfb.99.2018.06.03.22.44.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 Jun 2018 22:44:48 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Mon, 4 Jun 2018 13:44:36 +0800 Message-Id: <1528091078-20889-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH v8 edk-platforms 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: , Cc: Laszlo Ersek , Haojian Zhuang , Leif Lindholm , Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Changelog: v8: * Rebase for virtual keyboard driver. 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 | 10 +- Platform/Hisilicon/{HiKey/HiKey.dec => HiKey960/HiKey960.dec} | 19 ++- Platform/Hisilicon/HiKey/HiKey.dsc | 7 + Platform/Hisilicon/HiKey960/HiKey960.dsc | 6 + Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.inf | 11 ++ Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.inf | 11 ++ Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.h | 2 + Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.h | 20 +-- Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.c | 164 +++++++++++++++++++ Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.c | 166 ++++++++++++++++++++ 10 files changed, 384 insertions(+), 32 deletions(-) copy Platform/Hisilicon/{HiKey/HiKey.dec => HiKey960/HiKey960.dec} (54%) Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Ard Biesheuvel -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel