[U-Boot] [PATCH v2 02/17] dm: x86: spi: Convert ICH SPI driver to driver model

Simon Glass sjg at chromium.org
Wed Apr 1 05:14:41 CEST 2015


On 26 March 2015 at 09:29, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> Changes in v2: None
>
>  arch/x86/Kconfig                               |   6 +
>  arch/x86/cpu/ivybridge/mrccache.c              |   7 +-
>  arch/x86/cpu/ivybridge/sdram.c                 |  17 +-
>  arch/x86/include/asm/arch-ivybridge/mrccache.h |   4 +-
>  arch/x86/lib/init_helpers.c                    |   8 -
>  common/board_r.c                               |   3 -
>  drivers/spi/ich.c                              | 519 +++++++++++++------------
>  include/configs/x86-common.h                   |   1 -
>  8 files changed, 287 insertions(+), 278 deletions(-)

Applied to u-boot-dm/next


More information about the U-Boot mailing list