summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-26 15:29:26 (GMT)
committerSimon Glass <sjg@chromium.org>2015-04-18 17:11:14 (GMT)
commitba4575626eddef71b5a8dc26dc4b267918b9438c (patch)
tree60e47b89a76b5d69b41669a4afeb653ec02f8525 /common
parent8d987abc6a8553454b0b602b46a5dc09a4687110 (diff)
downloadu-boot-fsl-qoriq-ba4575626eddef71b5a8dc26dc4b267918b9438c.tar.xz
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>
Diffstat (limited to 'common')
-rw-r--r--common/board_r.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 9c2b5a9..42ff18c 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -780,9 +780,6 @@ init_fnc_t init_sequence_r[] = {
#ifdef CONFIG_PPC
initr_spi,
#endif
-#if defined(CONFIG_X86) && defined(CONFIG_SPI)
- init_func_spi,
-#endif
#ifdef CONFIG_CMD_NAND
initr_nand,
#endif