From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::243; helo=mail-wr0-x243.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::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 92D3C20954CA6 for ; Thu, 22 Feb 2018 07:23:06 -0800 (PST) Received: by mail-wr0-x243.google.com with SMTP id z12so10993707wrg.4 for ; Thu, 22 Feb 2018 07:29:07 -0800 (PST) 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=wm851k3VP0mVOpuKi/JV4WOk4WUJu3LaLOoUJgLUsD8=; b=MRjnMA4CMbERE4DmDAgkySf8OOLYLC2jqQ7OpiCZjLwBUemWEcDV2JcR93EcY83YKu +Zvb8vynqigZCtVn8KvGHToPtgA46Nz5je2cSMepgQi+xaaAiIULRgwtgyUZ35WbQCo8 h9189ClUScHwQiiAvwv6Di5eBJUFqstu62YRA= 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=wm851k3VP0mVOpuKi/JV4WOk4WUJu3LaLOoUJgLUsD8=; b=HDxypeSaojYahQdYr3rgyIT7WuVB7UqkqRCM5GRgj1U2LwKo/M1W0+MFeiaQPmeuza b9+RGs3ddWMsO0w/lHDRsNCDzH4CtOn0Rz+O9Kqaox7OHIphJMwVFmO9856oDdp+Csmn EJRnxm7FGGm4VV4jXBa/HyXwJ7XoDLqGFx56klht6Nm88xHlnzG/B2yUZ7tvlANyMCmz mXgYF8RTy3cqHloNQJ81mSAa7y+xOZsiNdCAH8/5h7K1h4BzvWeHVWF6Ul1Udg4AjOwE LIVnh3+wehX5izRSFcS0QA3DuDSVHzng9rVwJjy/rxltFb27a/QOVwCWJVlaD8WIlcqy cHsw== X-Gm-Message-State: APf1xPBJ9dIyK4gxMnEu3NSfoVAlb/a970L/xYMv4IUnznxIlez58L+6 zOIST1wIjqEFB1H3gxxoFnvtuEE51Ys= X-Google-Smtp-Source: AH8x226m85q0uyrFWhIcEU+dXMPSNtX43VYj2OZWb9XWQh6TvzCKjalxuYLwdqdSogc8OkOUPmG88A== X-Received: by 10.223.164.153 with SMTP id g25mr6829693wrb.79.1519313345532; Thu, 22 Feb 2018 07:29:05 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id l73sm817966wma.15.2018.02.22.07.29.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Feb 2018 07:29:04 -0800 (PST) Date: Thu, 22 Feb 2018 15:29:02 +0000 From: Leif Lindholm To: Ard Biesheuvel Cc: edk2-devel@lists.01.org Message-ID: <20180222152902.meesq6cxgw4enxld@bivouac.eciton.net> References: <20180220174944.525-1-ard.biesheuvel@linaro.org> <20180220174944.525-5-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <20180220174944.525-5-ard.biesheuvel@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms v2 4/7] Platform/NinetySixBoards: introduce LsConnector protocol X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 15:23:07 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 20, 2018 at 05:49:41PM +0000, Ard Biesheuvel wrote: > Introduce a protocol describing the presence of a 96boards LS connector, Can you expand the LS here? (It's used as a proper name, so I don't consider it needing expansion below, but useful for introduction.) > and identifying the type of mezzanine that has been installed. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Biesheuvel > --- > Platform/NinetySixBoards/Include/Protocol/LsConnector.h | 35 ++++++++++++++++++++ > Platform/NinetySixBoards/NinetySixBoards.dec | 3 ++ > 2 files changed, 38 insertions(+) > > diff --git a/Platform/NinetySixBoards/Include/Protocol/LsConnector.h b/Platform/NinetySixBoards/Include/Protocol/LsConnector.h > new file mode 100644 > index 000000000000..a1f0132c85ae > --- /dev/null > +++ b/Platform/NinetySixBoards/Include/Protocol/LsConnector.h > @@ -0,0 +1,35 @@ > +/** @file > + > + Copyright (c) 2018, Linaro, Ltd. All rights reserved.
> + > + This program and the accompanying materials are licensed and made available > + under the terms and conditions of the BSD License which accompanies this > + distribution. The full text of the license may be found at > + http://opensource.org/licenses/bsd-license.php > + > + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, > + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. > + > +**/ > + > +#ifndef _LS_CONNECTOR_H_ > +#define _LS_CONNECTOR_H_ > + > +#define LS_CONNECTOR_PROTOCOL_GUID \ > + { 0xae548d4c, 0x9062, 0x4eed, { 0x83, 0x5f, 0xf5, 0x10, 0xf8, 0xfc, 0x48, 0xaf } } > + > +typedef struct _LS_CONNECTOR_PROTOCOL LS_CONNECTOR_PROTOCOL; > + > +typedef enum { > + MezzanineUnknown, > + MezzanineSecure96, > + MezzanineMax > +} MEZZANINE_TYPE; > + > +struct _LS_CONNECTOR_PROTOCOL { > + MEZZANINE_TYPE MezzanineType; > +}; > + > +extern EFI_GUID gNinetySixBoardsLsConnectorProtocolGuid; > + > +#endif // _LS_CONNECTOR_H_ > diff --git a/Platform/NinetySixBoards/NinetySixBoards.dec b/Platform/NinetySixBoards/NinetySixBoards.dec > index f7e2b01459d7..5c3fe43dbb24 100644 > --- a/Platform/NinetySixBoards/NinetySixBoards.dec > +++ b/Platform/NinetySixBoards/NinetySixBoards.dec > @@ -25,6 +25,9 @@ [Protocols] > ## Include/Protocol/Mezzanine.h > gNinetySixBoardsMezzanineProtocolGuid = { 0xf0467a37, 0x3436, 0x40ef, { 0x94, 0x09, 0x4d, 0x1d, 0x7f, 0x51, 0x06, 0xd3 } } > > + ## Include/Protocol/LsConnector.h > + gNinetySixBoardsLsConnectorProtocolGuid = { 0xae548d4c, 0x9062, 0x4eed, { 0x83, 0x5f, 0xf5, 0x10, 0xf8, 0xfc, 0x48, 0xaf } } > + > [Guids] > # PCD scope GUID > gNinetySixBoardsTokenSpaceGuid = { 0xe0d2f33a, 0xb7dd, 0x4a69, { 0xb6, 0x76, 0xda, 0xe8, 0xa4, 0x17, 0xa7, 0xb5 } } > -- > 2.11.0 >