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:c09::244; helo=mail-wm0-x244.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::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 5EF73210FBEFA for ; Wed, 22 Aug 2018 03:17:06 -0700 (PDT) Received: by mail-wm0-x244.google.com with SMTP id l2-v6so11731506wme.1 for ; Wed, 22 Aug 2018 03:17:06 -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=zCF9Nk3QGr/pWGYpwptKRzlVv6e3djprcCAt/IPpnRI=; b=B65gkkRcWW7wArO1Plk1xL4od/t7+IAwuF+NvsCASTGq0YThFNAaYTHj3Uofo4YY7R AcwMGktQjw5FfNAvRKGTOarnJfa3Eh2n6X2o8DAdDIo9nidOGdA0Y50u47SxXYfsL5c4 7drpgQq5B34+pmWBr1OFv+G64dsWln9AF5kas= 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=zCF9Nk3QGr/pWGYpwptKRzlVv6e3djprcCAt/IPpnRI=; b=EsWR8Bngwr6iVpRv3iWvJwStEmDWq/Ux7S679Lv4nYM5EhYPijOVtAxZg8MVcZ5A2R +w5oX4H6P2P62f+K0HaDOsm4cBvmNPopchC6ipS10vv71FxzfFw4yF0Pq8TX5gEZCh/l zl768ztLX9uPccIKRQMUT5WJ9ZqWoZhoJ0QGoIsILEeBVig4grRHE+EJtGzecwHdg2j1 00TQ2ZpGg8dZ0DeO+ojNUeZ3hX9oQktxw20EIOhDvykPJVcCfTDPRjDXiicoB3LhpaK7 knjfAc9zQSE7AH8UcRM5kfoCOjgjIMpJ+hNAzQ6exBZjI8Z/crOJP4b8rp1Y/Ck9g96Y PG3A== X-Gm-Message-State: APzg51AU+GG1Rkshy420MDV/Q7faFp5bGx3AG9I9RpO0SZzse2eDe9NM jJvlPx4eD9WkGDA/2CmWQhxi5A== X-Google-Smtp-Source: ANB0VdYI37VhCSjjx0uARpLFwZA7yD35bKZyalBTBGWrfscPC5A0phSkecVX1HUtc4/OzvxgRWWQDw== X-Received: by 2002:a1c:1188:: with SMTP id 130-v6mr1904692wmr.138.1534933024273; Wed, 22 Aug 2018 03:17:04 -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 n14-v6sm1299141wmc.14.2018.08.22.03.17.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Aug 2018 03:17:03 -0700 (PDT) Date: Wed, 22 Aug 2018 11:17:01 +0100 From: Leif Lindholm To: Ming Huang Cc: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org, ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, lersek@redhat.com, guoheyi@huawei.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, john.garry@huawei.com, xinliang.liu@linaro.org Message-ID: <20180822101701.ihy2m3y42nmis5ac@bivouac.eciton.net> References: <20180814080903.50466-1-ming.huang@linaro.org> <20180814080903.50466-14-ming.huang@linaro.org> MIME-Version: 1.0 In-Reply-To: <20180814080903.50466-14-ming.huang@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms v2 13/43] Hisilicon/D06: Add OemMiscLibD06 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2018 10:17:06 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 14, 2018 at 04:08:33PM +0800, Ming Huang wrote: > This library include BoardFeatureD06.c and OemMiscLibD06.c c file, > use for several modules like PciHostBridgeLib and Smbios. > Enlarge macro PCIEDEVICE_REPORT_MAX for D06. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ming Huang > --- > Platform/Hisilicon/D06/D06.dsc | 1 + > Platform/Hisilicon/D06/Library/OemMiscLibD06/OemMiscLibD06.inf | 47 +++ > Silicon/Hisilicon/Include/Library/OemMiscLib.h | 6 +- > Platform/Hisilicon/D06/Library/OemMiscLibD06/BoardFeatureD06.c | 432 ++++++++++++++++++++ > Platform/Hisilicon/D06/Library/OemMiscLibD06/OemMiscLibD06.c | 132 ++++++ > Platform/Hisilicon/D06/Library/OemMiscLibD06/BoardFeatureD06Strings.uni | 64 +++ > 6 files changed, 681 insertions(+), 1 deletion(-) > > diff --git a/Platform/Hisilicon/D06/D06.dsc b/Platform/Hisilicon/D06/D06.dsc > index 94454569f6..9ca7160dad 100644 > --- a/Platform/Hisilicon/D06/D06.dsc > +++ b/Platform/Hisilicon/D06/D06.dsc > @@ -70,6 +70,7 @@ > > TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf > RealTimeClockLib|Silicon/Hisilicon/Library/M41T83RealTimeClockLib/M41T83RealTimeClockLib.inf > + OemMiscLib|Platform/Hisilicon/D06/Library/OemMiscLibD06/OemMiscLibD06.inf > OemAddressMapLib|Platform/Hisilicon/D06/Library/OemAddressMapD06/OemAddressMapD06.inf > PlatformSysCtrlLib|Silicon/Hisilicon/Hi1620/Library/PlatformSysCtrlLibHi1620/PlatformSysCtrlLibHi1620.inf > > diff --git a/Platform/Hisilicon/D06/Library/OemMiscLibD06/BoardFeatureD06Strings.uni b/Platform/Hisilicon/D06/Library/OemMiscLibD06/BoardFeatureD06Strings.uni > new file mode 100644 > index 0000000000..046fa05dff > --- /dev/null > +++ b/Platform/Hisilicon/D06/Library/OemMiscLibD06/BoardFeatureD06Strings.uni > @@ -0,0 +1,64 @@ > +// *++ > +// > +// Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
Add your own copyright year. With that, the next revision can include: Reviewed-by: Leif Lindholm > +// > +// 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. > +// > +// --*/ > + > +/=# > + > +#langdef en-US "English" > + > +// > +// Begin English Language Strings > +// > +#string STR_MEMORY_SUBCLASS_UNKNOWN #language en-US "Unknown" > + > +// > +// DIMM Device Locator strings > + > +// D06 > +#string STR_LEMON_C10_DIMM_000 #language en-US "J5" > +#string STR_LEMON_C10_DIMM_001 #language en-US "J6" > +#string STR_LEMON_C10_DIMM_010 #language en-US "J7" > +#string STR_LEMON_C10_DIMM_011 #language en-US "J8" > +#string STR_LEMON_C10_DIMM_020 #language en-US "J9" > +#string STR_LEMON_C10_DIMM_021 #language en-US "J10" > +#string STR_LEMON_C10_DIMM_030 #language en-US "J11" > +#string STR_LEMON_C10_DIMM_031 #language en-US "J12" > +#string STR_LEMON_C10_DIMM_040 #language en-US "J13" > +#string STR_LEMON_C10_DIMM_041 #language en-US "J14" > +#string STR_LEMON_C10_DIMM_050 #language en-US "J15" > +#string STR_LEMON_C10_DIMM_051 #language en-US "J16" > +#string STR_LEMON_C10_DIMM_060 #language en-US "J17" > +#string STR_LEMON_C10_DIMM_061 #language en-US "J18" > +#string STR_LEMON_C10_DIMM_070 #language en-US "J19" > +#string STR_LEMON_C10_DIMM_071 #language en-US "J20" > +#string STR_LEMON_C10_DIMM_100 #language en-US "J21" > +#string STR_LEMON_C10_DIMM_101 #language en-US "J22" > +#string STR_LEMON_C10_DIMM_110 #language en-US "J23" > +#string STR_LEMON_C10_DIMM_111 #language en-US "J24" > +#string STR_LEMON_C10_DIMM_120 #language en-US "J25" > +#string STR_LEMON_C10_DIMM_121 #language en-US "J26" > +#string STR_LEMON_C10_DIMM_130 #language en-US "J27" > +#string STR_LEMON_C10_DIMM_131 #language en-US "J28" > +#string STR_LEMON_C10_DIMM_140 #language en-US "J29" > +#string STR_LEMON_C10_DIMM_141 #language en-US "J30" > +#string STR_LEMON_C10_DIMM_150 #language en-US "J31" > +#string STR_LEMON_C10_DIMM_151 #language en-US "J32" > +#string STR_LEMON_C10_DIMM_160 #language en-US "J33" > +#string STR_LEMON_C10_DIMM_161 #language en-US "J34" > +#string STR_LEMON_C10_DIMM_170 #language en-US "J35" > +#string STR_LEMON_C10_DIMM_171 #language en-US "J36" > + > +// > +// End English Language Strings > +// > + > -- > 2.17.0 >