Re: [U-Boot] [PATCH 4/7 v2] pci/layerscape: add support for LUT

2016-02-26 Thread Stuart Yoder
> -Original Message- > From: Minghuan Lian > Sent: Thursday, February 25, 2016 11:56 PM > To: Stuart Yoder ; u-boot@lists.denx.de > Cc: york sun ; Prabhakar Kushwaha > ; > Mingkai Hu ; Yang-Leo Li ; > marc.zyng...@arm.com; > Stuart Yoder > Subject: RE: [PATCH 4/7 v2] pci/layerscape: ad

Re: [U-Boot] [PATCH 4/7 v2] pci/layerscape: add support for LUT

2016-02-25 Thread Minghuan Lian
Hi Stuart, Please see my comments inline. Thanks, Minghuan > -Original Message- > From: Stuart Yoder [mailto:stuart.yo...@nxp.com] > Sent: Friday, February 26, 2016 7:06 AM > To: u-boot@lists.denx.de > Cc: york sun ; Prabhakar Kushwaha > ; Mingkai Hu ; > Minghuan Lian ; Yang-Leo Li ; > m

[U-Boot] [PATCH 4/7 v2] pci/layerscape: add support for LUT

2016-02-25 Thread Stuart Yoder
From: Stuart Yoder The per-PCI controller LUT (Look-Up-Table) is a 32-entry table that maps PCI requester IDs (bus/dev/fun) to a stream ID. This patch implements infrastructure to enable LUT initialization: -define registers offsets -add an index to 'struct ls_pcie' to track next available s