[U-Boot] [PATCH 2/2][V2] pci/layerscape: Add EP mode support

Lian M.H.
2015-09-02T04:31:46Z

Hi ED,

The setting can meet most needs of EP device.
It is similar with setting for RC mode which we assign 1G outbound space not 256M 512M ... 32G.

Thanks,
Minghuan

> -----Original Message-----
> From: Swarthout Edward L-SWARTHOU
> Sent: Wednesday, September 02, 2015 1:16 AM
> To: Sun York-R58495 <yorksun@freescale.com>; Lian Minghuan-B31939
> <Minghuan.Lian@freescale.com>
> Cc: Hu Mingkai-B21284 <Mingkai.Hu@freescale.com>; u-boot at lists.denx.de
> Subject: RE: [U-Boot] [PATCH 2/2][V2] pci/layerscape: Add EP mode support
>
> From: York Sun
> >On 07/09/2015 08:35 PM, Minghuan Lian wrote:
> >> The patch will initialize PCIe controller on EP mode 1. Setup bar:
> >> bar0 32bit 4K for specific configuration
> >> bar1 32bit 8K for MSIX
> >> bar2 64bit 4K for descriptor of memory
> >> bar4 64bit 1M for DMA memory test
>
> This usage is very board/application specific, why are they hard-coded in a
> general drivers c file?
>
> Ed