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

Z.q. Hou zhiqiang.hou at nxp.com
Mon Aug 26 07:47:57 UTC 2019


Hi Bin,

Thanks a lot for your review!

Regards,
Zhiqiang

> -----Original Message-----
> From: Bin Meng <bmeng.cn at gmail.com>
> Sent: 2019年8月26日 14:11
> To: Z.q. Hou <zhiqiang.hou at nxp.com>
> Cc: u-boot at lists.denx.de; Prabhakar Kushwaha
> <prabhakar.kushwaha at nxp.com>
> Subject: Re: [PATCHv2 3/3] dm: pcie_fsl: Fix the calculation of controller
> index
> 
> On Sun, Aug 25, 2019 at 11:42 PM Z.q. Hou <zhiqiang.hou at nxp.com> wrote:
> >
> > From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> >
> > The PCIe controller register address in CCSR is different on various
> > platforms, the current code erroneously use the hardcoded address
> > (0xffe240000) and stride (0x10000) to calculate the controller's
> > index.
> >
> > Fix it by adding the related info to the driver data structure.
> >
> > Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> > ---
> > V2:
> >  - No change.
> >
> >  drivers/pci/pcie_fsl.c | 14 ++++++++++++--  drivers/pci/pcie_fsl.h |
> > 7 +++++++
> >  2 files changed, 19 insertions(+), 2 deletions(-)
> >
> 
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list