]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: x86: spi: Convert ICH SPI driver to driver model
authorSimon Glass <sjg@chromium.org>
Thu, 26 Mar 2015 15:29:26 +0000 (09:29 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:45 +0000 (21:47 +0200)
commit96fbaedd2f0dd74383146179f09c079487f59306
treeab1328830a194f73d27805cffdfc4cae65fb8cfd
parent3ca4bbed220b23fc03ba26488e6f52c916f386e5
dm: x86: spi: Convert ICH SPI driver to driver model

Convert this driver over to use driver model. Since all x86 platforms use
it, move x86 to use driver model for SPI and SPI flash. Adjust all dependent
code and remove the old x86 spi_init() function.

Note that this does not make full use of the new PCI uclass as yet. We still
scan the bus looking for the device. It should move to finding its details
in the device tree.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/Kconfig
arch/x86/cpu/ivybridge/mrccache.c
arch/x86/cpu/ivybridge/sdram.c
arch/x86/include/asm/arch-ivybridge/mrccache.h
arch/x86/lib/init_helpers.c
common/board_r.c
drivers/spi/ich.c
include/configs/x86-common.h