]> Git Repo - J-u-boot.git/commit
spi: ich: Configure SPI BIOS parameters for Linux upon U-Boot exit
authorStefan Roese <[email protected]>
Mon, 24 Apr 2017 07:48:04 +0000 (09:48 +0200)
committerBin Meng <[email protected]>
Wed, 17 May 2017 09:13:06 +0000 (17:13 +0800)
commit4759dffe23460d39d8e92c01013b00a3587e2112
tree1431f4e513eafb21e025bd6fde397cd3d3014d8a
parent7025b05415ff97824266ce59b7f7915032ba6403
spi: ich: Configure SPI BIOS parameters for Linux upon U-Boot exit

This patch adds a remove function to the Intel ICH SPI driver, that will
be called upon U-Boot exit, directly before the OS (Linux) is started.
This function takes care of configuring the BIOS registers in the SPI
controller (similar to what a "standard" BIOS or coreboot does), so that
the Linux MTD device driver is able to correctly read/write to the SPI
NOR chip. Without this, the chip is not detected at all.

Signed-off-by: Stefan Roese <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Jagan Teki <[email protected]>
drivers/spi/ich.c
drivers/spi/ich.h
This page took 0.054058 seconds and 4 git commands to generate.