u-boot/arch/x86/cpu/coreboot
Simon Glass f2b85ab5e6 dm: x86: spi: Convert ICH SPI driver to driver model PCI API
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 we need.

While the device tree has a node for the SPI peripheral it is not in the
right place. It should be on the PCI bus as a sub-peripheral of the LPC
device.

Update the device tree files to show the SPI controller within the PCH, so
that PCI access works as expected.

This patch includes Bin's fix-up patch from here:

   https://patchwork.ozlabs.org/patch/569478/

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
2016-01-24 12:07:17 +08:00
..
car.S Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
coreboot.c x86: coreboot: Convert to use more dm drivers 2015-09-09 07:48:03 -06:00
Kconfig x86: coreboot: Move coreboot-specific defines from coreboot.h to Kconfig 2015-01-13 07:25:03 -08:00
Makefile x86: Use ipchecksum from net/ 2015-01-24 06:13:44 -07:00
pci.c dm: x86: spi: Convert ICH SPI driver to driver model PCI API 2016-01-24 12:07:17 +08:00
sdram.c x86: coreboot: Allow >=4GiB memory bank size 2015-08-26 07:54:07 -07:00
tables.c x86: Use ipchecksum from net/ 2015-01-24 06:13:44 -07:00
timestamp.c x86: Convert to use driver model timer 2015-12-01 06:26:35 -07:00