diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-26 09:29:26 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:14 -0600 |
commit | ba4575626eddef71b5a8dc26dc4b267918b9438c (patch) | |
tree | 60e47b89a76b5d69b41669a4afeb653ec02f8525 /include | |
parent | 8d987abc6a8553454b0b602b46a5dc09a4687110 (diff) | |
download | u-boot-imx-ba4575626eddef71b5a8dc26dc4b267918b9438c.zip u-boot-imx-ba4575626eddef71b5a8dc26dc4b267918b9438c.tar.gz u-boot-imx-ba4575626eddef71b5a8dc26dc4b267918b9438c.tar.bz2 |
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 'include')
-rw-r--r-- | include/configs/x86-common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index b7dd63e..928ed58 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -204,7 +204,6 @@ #define CONFIG_CMD_SF_TEST #define CONFIG_CMD_SPI #define CONFIG_SPI -#define CONFIG_OF_SPI_FLASH /*----------------------------------------------------------------------- * Environment configuration |