Re: [U-Boot] [PATCHv2 3/3] dm: pcie_fsl: Fix the calculation of controller index

2019-08-26 Thread Z.q. Hou
Hi Bin, Thanks a lot for your review! Regards, Zhiqiang > -Original Message- > From: Bin Meng > Sent: 2019年8月26日 14:11 > To: Z.q. Hou > Cc: u-boot@lists.denx.de; Prabhakar Kushwaha > > Subject: Re: [PATCHv2 3/3] dm: pcie_fsl: Fix the calculation of controller > index > > On Sun, Aug

Re: [U-Boot] [PATCHv2 3/3] dm: pcie_fsl: Fix the calculation of controller index

2019-08-25 Thread Bin Meng
On Sun, Aug 25, 2019 at 11:42 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > The PCIe controller register address in CCSR is different > on various platforms, the current code erroneously use > the hardcoded address (0xffe24) and stride (0x1) > to calculate the controller's index. > > Fix

[U-Boot] [PATCHv2 3/3] dm: pcie_fsl: Fix the calculation of controller index

2019-08-25 Thread Z.q. Hou
From: Hou Zhiqiang The PCIe controller register address in CCSR is different on various platforms, the current code erroneously use the hardcoded address (0xffe24) and stride (0x1) to calculate the controller's index. Fix it by adding the related info to the driver data structure. Signe