Message ID | 1476796207-94336-5-git-send-email-heyi.guo@linaro.org |
---|---|
State | Accepted |
Commit | c58960c3cd1f9cf31dbf348b9e3ef1194cbd0316 |
Headers | show |
On Tue, Oct 18, 2016 at 09:09:48PM +0800, Heyi Guo wrote: > Lane reversal is the default setting of chip and it is unnecessary for > software to do that. > We made a mistake to do it in software, and this patch is to remove > the duplication. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: hensonwang <wanghuiqiang@huawei.com> > Signed-off-by: Heyi Guo <heyi.guo@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Pushed as c58960c. > --- > Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c b/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c > index 3a2bee0..730bdb0 100644 > --- a/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c > +++ b/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c > @@ -971,7 +971,6 @@ PciePortInit ( > (VOID)PciePcsInit(soctype, HostBridgeNum, PortIndex); > > (VOID)PcieModeSet(soctype, HostBridgeNum, PortIndex,PcieCfg->PortInfo.PortType); > - (VOID)PcieLaneReversalSet(soctype, HostBridgeNum, PortIndex); > (VOID)PcieSpdSet(soctype, HostBridgeNum, PortIndex, 3); > (VOID)PciePortNumSet(soctype, HostBridgeNum, PortIndex, 0); > /* setup root complex */ > -- > 1.9.1 >
diff --git a/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c b/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c index 3a2bee0..730bdb0 100644 --- a/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c +++ b/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.c @@ -971,7 +971,6 @@ PciePortInit ( (VOID)PciePcsInit(soctype, HostBridgeNum, PortIndex); (VOID)PcieModeSet(soctype, HostBridgeNum, PortIndex,PcieCfg->PortInfo.PortType); - (VOID)PcieLaneReversalSet(soctype, HostBridgeNum, PortIndex); (VOID)PcieSpdSet(soctype, HostBridgeNum, PortIndex, 3); (VOID)PciePortNumSet(soctype, HostBridgeNum, PortIndex, 0); /* setup root complex */