Re: [U-Boot] [PATCH v4 8/8] dm: x86: spi: Convert ICH SPI driver to driver model PCI API

2016-01-18 Thread Simon Glass
Hi Bin, On 18 January 2016 at 01:43, Bin Meng wrote: > Hi Simon, > > On Mon, Jan 18, 2016 at 3:44 PM, Bin Meng wrote: >> Hi Simon, >> >> On Sun, Jan 17, 2016 at 7:44 AM, Simon Glass wrote: >>> At present this SPI driver works by searching the PCI buses for its >>> peripheral. It also uses the l

Re: [U-Boot] [PATCH v4 8/8] dm: x86: spi: Convert ICH SPI driver to driver model PCI API

2016-01-18 Thread Bin Meng
Hi Simon, On Mon, Jan 18, 2016 at 3:44 PM, Bin Meng wrote: > Hi Simon, > > On Sun, Jan 17, 2016 at 7:44 AM, Simon Glass wrote: >> At present this SPI driver works by searching the PCI buses for its >> peripheral. It also uses the legacy PCI API. >> >> In addition the driver has code to determine

Re: [U-Boot] [PATCH v4 8/8] dm: x86: spi: Convert ICH SPI driver to driver model PCI API

2016-01-17 Thread Bin Meng
Hi Simon, On Sun, Jan 17, 2016 at 7:44 AM, Simon Glass wrote: > At present this SPI driver works by searching the PCI buses for its > peripheral. It also uses the legacy PCI API. > > In addition the driver has code to determine the type of Intel PCH that is > used (version 7 or version 9). Now th

[U-Boot] [PATCH v4 8/8] dm: x86: spi: Convert ICH SPI driver to driver model PCI API

2016-01-16 Thread Simon Glass
At present this SPI driver works by searching the PCI buses for its peripheral. It also uses the legacy PCI API. In addition the driver has code to determine the type of Intel PCH that is used (version 7 or version 9). Now that we have proper PCH drivers we can use those to obtain the information