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

2016-01-18 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

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

2016-01-18 Thread Bin Meng
On Tue, Jan 19, 2016 at 11:19 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

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

2016-01-18 Thread Bin Meng
On Tue, Jan 19, 2016 at 11:27 AM, Bin Meng wrote: > On Tue, Jan 19, 2016 at 11:19 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