]> git.baikalelectronics.ru Git - uboot.git/commit
spi: ich: Don't require the PCH
authorSimon Glass <sjg@chromium.org>
Sun, 27 Jun 2021 23:50:59 +0000 (17:50 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 15 Jul 2021 11:49:52 +0000 (19:49 +0800)
commitdaf27b8c5b025b26cb8593ef8e5312d709138eee
treef56157729c3ba1b3c8be93117dbb900adb3ee483
parent22dafb8362de9b45744410a716f4c915d992fabc
spi: ich: Don't require the PCH

When booting from coreboot we may not have a PCH driver available. The
SPI driver can operate without the PCH but currently complains in this
case. Update it to continue to work normally. The only missing feature
is memory-mapping of SPI-flash contents, which is not essential.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/ich.c