]> git.ipfire.org Git - people/ms/u-boot.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)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:14 +0000 (11:11 -0600)
commitba4575626eddef71b5a8dc26dc4b267918b9438c
tree60e47b89a76b5d69b41669a4afeb653ec02f8525
parent8d987abc6a8553454b0b602b46a5dc09a4687110
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