From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (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 EF77B21D491AC for ; Thu, 27 Jul 2017 07:08:51 -0700 (PDT) Received: by mail-wr0-x231.google.com with SMTP id f21so87748101wrf.5 for ; Thu, 27 Jul 2017 07:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ZZoZeYJf5CAZcUn/7VBQQOI0Hmw7Tq9ZhMkooyxh9Vc=; b=EqnzCRJijx/SOn2QZLn8JUb7dfQHcxNw1GsYMPYmCLd+ecRvCBQE+cI2QM+EJYX50q ZH7N/Xrddu0YQGy+9qoBf1LwkISh+bBKCUXGi1SS9BBUCPSrbwpnY+qIFb5TqK0gkaEi fyVJG4zoL8GChcsdCso3JIJgemQXiVBcW+V6E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ZZoZeYJf5CAZcUn/7VBQQOI0Hmw7Tq9ZhMkooyxh9Vc=; b=aODaTOLaO2jjRFqe7Skt+SS66XlX7idGRQw3aTlcuCqvlHTjwsMtRKn/CFDwR6rMJE wN/apr3w49Vtwsq0+rLfsNDPqtnVq8XniR+oovQyc282PgSYHfdjh+ahT8frpsy1YnWA jrFg+lQez0gmA7pKikA/a2sIhzecOYe/gHhXXwZ9054irerQMd99Tr9xgjSakhQ7cdnb mcrl6BxdH4VlM6bmFIj+smUJkF+9DYBwdhZPY6J6eMMsWxkx4vkc50ppyGv+ZLa9KHbH peZrl3Ez2iQmj2g4PURFItPwKr6w3/pUgTE97PfzcUaG8vuLgNMt1Zyl5IF5/kS7IFGd R4nQ== X-Gm-Message-State: AIVw112hoKN1nDuazFB02jtRv7rAO70re2wy35oGHkIvSGR3eN7DRGtu HF+q2O+5F8qeVDoI X-Received: by 10.223.182.153 with SMTP id j25mr4154794wre.87.1501164654485; Thu, 27 Jul 2017 07:10:54 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id n22sm5803838wra.30.2017.07.27.07.10.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Jul 2017 07:10:54 -0700 (PDT) Date: Thu, 27 Jul 2017 15:10:52 +0100 From: Leif Lindholm To: Jun Nie Cc: haojian.zhuang@linaro.org, ard.biesheuvel@linaro.org, edk2-devel@lists.01.org, linaro-uefi@lists.linaro.org, shawn.guo@linaro.org, jason.liu@linaro.org Message-ID: <20170727141052.GM1501@bivouac.eciton.net> References: <1501150040-32613-1-git-send-email-jun.nie@linaro.org> <1501150040-32613-2-git-send-email-jun.nie@linaro.org> MIME-Version: 1.0 In-Reply-To: <1501150040-32613-2-git-send-email-jun.nie@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [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: , X-List-Received-Date: Thu, 27 Jul 2017 14:08:52 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jul 27, 2017 at 06:07:20PM +0800, Jun Nie wrote: > The device path specifies where to load android boot image. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jun Nie Reviewed-by: Leif Lindholm > --- > EmbeddedPkg/EmbeddedPkg.dec | 2 ++ > 1 file changed, 2 insertions(+) > > 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 > -- > 1.9.1 >