On 6 April 2017 at 07:29, Stefan Roese <[email protected]> wrote: > 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]> > Cc: Bin Meng <[email protected]> > Cc: Simon Glass <[email protected]> > Cc: Jagan Teki <[email protected]> > --- > drivers/spi/ich.c | 18 ++++++++++++++++++ > drivers/spi/ich.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++------- > 2 files changed, 65 insertions(+), 7 deletions(-)
Reviewed-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

