summaryrefslogtreecommitdiff
path: root/drivers/spi/designware_spi.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2017-04-24 07:48:04 (GMT)
committerBin Meng <bmeng.cn@gmail.com>2017-05-17 09:13:06 (GMT)
commit4759dffe23460d39d8e92c01013b00a3587e2112 (patch)
tree1431f4e513eafb21e025bd6fde397cd3d3014d8a /drivers/spi/designware_spi.c
parent7025b05415ff97824266ce59b7f7915032ba6403 (diff)
downloadu-boot-fsl-qoriq-4759dffe23460d39d8e92c01013b00a3587e2112.tar.xz
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 <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'drivers/spi/designware_spi.c')
0 files changed, 0 insertions, 0 deletions