From patchwork Thu Jul 27 10:07:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 108813 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1849719qge; Thu, 27 Jul 2017 03:07:46 -0700 (PDT) X-Received: by 10.98.236.82 with SMTP id k79mr3546941pfh.302.1501150066063; Thu, 27 Jul 2017 03:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501150066; cv=none; d=google.com; s=arc-20160816; b=rRTEU4wFR1r4eGhhKKHmX0lJVsUOs1or5VxwoBH9JhX7MgjGY+qqzhYqlnS5g9ejYq MIU7x3D3CzgY59SPFQUWxnw4CHwGRhan2oTIzreQmgGWb4J7W7BbvJPEsAfk5WoMS7SB hcIr3kVEUFF6D3SCdRZ+ltTHxHUIwxzwUl0BVcuuoIxvqZiSQc24uWDunT20iQtm33J5 k8nBIjB4Gssstsx+CTPerzCNoAvEOwf0Zg+w0JMjQh0iTk2BJgv6brHbebwiGTXeTZuQ DI7F77OZlRTx5QDqGXqv2QZokc7mWs5/x1YET2Hnnc2X2gOtA54jftJlkHZXker6t/lf GrYA== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Vcefc1RDjnTaYpIgeRSGTnlWn+FDDyS5Gk46OAAYD7o=; b=Xv8/OH+hjJ165cvxDZuXPBNvhBsChZaeZ03of4BVDmQ5gLowkQWfsGdEfWhajDGdsX PnUyIYgLBttKYvqNmOUnpRof/KqxMLiIQPnYXEdyAy6OR+cVRtQ+WId/QBGS180IJgW+ KzAxJ6E2/UlWhUAsf77GACHuK4miuJCOM7/NJa62O7lM25Ujf/C0ToI8zT0cCBcA347A Qj/VgewZvCZJcLwmhsoM5+WwtNUJICYpZ9UUVDfG/Y4Yn0CYSB04Mn2LwJTfVYlDMIBQ IHeajyaMQlSg9ZfJcT9n00T3NpsLbouBPLD2tGZGdZdgk1hqK3LsdVsYaxJ9atKrqmdf bsag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=RrbtFADp; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id j1si6480476pfc.364.2017.07.27.03.07.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Jul 2017 03:07:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=RrbtFADp; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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 D047621D28FFF; Thu, 27 Jul 2017 03:05:41 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-pg0-x229.google.com (mail-pg0-x229.google.com [IPv6:2607:f8b0:400e:c05::229]) (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 AF1C821D0918C for ; Thu, 27 Jul 2017 03:05:39 -0700 (PDT) Received: by mail-pg0-x229.google.com with SMTP id 123so96129659pgj.1 for ; Thu, 27 Jul 2017 03:07:43 -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:in-reply-to:references; bh=r1Jqr4XP0Dk3Vq2ZLJSb9KyT9a+8rjX8BMNHNwxcegU=; b=RrbtFADpZT5SHgBhLygx8sS78Qxl+uGLvxmU0XweO0XHkUvG47e/GpYCQKob0+19/p 43fLd2zsKitmOLNU/X5ATm646s3o4FdlqZg3Vc3TLlHDG0+1NVraVf3/1QhPw2uzzHaW iZdptIzU7ssSLKrVIm2dXU8jYQ2Q/0HEZUXXo= 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:in-reply-to :references; bh=r1Jqr4XP0Dk3Vq2ZLJSb9KyT9a+8rjX8BMNHNwxcegU=; b=qhliWIZDHG03mFi7zrSLyi+vEv6FHfHs+K1n9il62APtUunTFg01JVuxhQ0NbYCNyF bF/bfbM7JlmHhgzFgJZmwC2IRtFhoUrgAsWvCqYuBvUDsFu5+7npwOikV+hDLEinV576 SbJdwPVMPAsDEjvUiFhgjSDiiE17TRa1yLfQjsw8q23PS1GdbzOMUPhxrMu8dhkwT6O/ ohkBZg3biEW9w1qbQpfv13SAE4Y8flhF53tqAZAGi3wfJVqkzDe5aHtLGIkQ7S+Dia8a K/sHJ7oU6wwsyBeIQWeq5S76e5C9iLlwLKnq7aaTF66PQ7ZmoiMp/vto8sJd7C7eLgpC /f9A== X-Gm-Message-State: AIVw112WPSk/AyLvaAip8I91QSSO1WXzxTujQZ8sNec1UJpNgGscr0pQ CBRNb08IXMcLkNj0 X-Received: by 10.99.145.196 with SMTP id l187mr3618519pge.425.1501150062960; Thu, 27 Jul 2017 03:07:42 -0700 (PDT) Received: from localhost.localdomain ([113.53.228.78]) by smtp.gmail.com with ESMTPSA id t199sm17713145pgb.30.2017.07.27.03.07.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Jul 2017 03:07:42 -0700 (PDT) From: Jun Nie To: haojian.zhuang@linaro.org, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, edk2-devel@lists.01.org, linaro-uefi@lists.linaro.org Date: Thu, 27 Jul 2017 18:07:20 +0800 Message-Id: <1501150040-32613-2-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501150040-32613-1-git-send-email-jun.nie@linaro.org> References: <1501150040-32613-1-git-send-email-jun.nie@linaro.org> Subject: [edk2] [PATCH v3 2/2] EmbeddedPkg: add Android boot device path and guid X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jason.liu@linaro.org, shawn.guo@linaro.org MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" The device path specifies where to load android boot image. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie --- EmbeddedPkg/EmbeddedPkg.dec | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/EmbeddedPkg/EmbeddedPkg.dec index 4cd528a..8ad2a84 100644 --- a/EmbeddedPkg/EmbeddedPkg.dec +++ b/EmbeddedPkg/EmbeddedPkg.dec @@ -80,6 +80,7 @@ gAndroidFastbootPlatformProtocolGuid = { 0x524685a0, 0x89a0, 0x11e3, {0x9d, 0x4d, 0xbf, 0xa9, 0xf6, 0xa4, 0x03, 0x08}} gUsbDeviceProtocolGuid = { 0x021bd2ca, 0x51d2, 0x11e3, {0x8e, 0x56, 0xb7, 0x54, 0x17, 0xc7, 0x0b, 0x44 }} gPlatformGpioProtocolGuid = { 0x52ce9845, 0x5af4, 0x43e2, {0xba, 0xfd, 0x23, 0x08, 0x12, 0x54, 0x7a, 0xc2 }} + gAndroidBootImgProtocolGuid = { 0x9859bb19, 0x407c, 0x4f8b, {0xbc, 0xe1, 0xf8, 0xda, 0x65, 0x65, 0xf4, 0xa5 }} [PcdsFeatureFlag.common] gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|FALSE|BOOLEAN|0x00000001 @@ -181,6 +182,7 @@ gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbProductId|0xbeef|UINT32|0x00000023 gEmbeddedTokenSpaceGuid.PcdAndroidFastbootTcpPort|1234|UINT32|0x00000024 + gEmbeddedTokenSpaceGuid.PcdAndroidBootDevicePath|L""|VOID*|0x00000057 [PcdsFixedAtBuild.ARM] gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32|UINT8|0x00000010