On 19 October 2017 at 03:20, Bin Meng <bmeng...@gmail.com> wrote: > Some Intel FSP (like Braswell) does SPI lock-down during the call > to fsp_notify(INIT_PHASE_BOOT). But before SPI lock-down is done, > it's bootloader's responsibility to configure the SPI controller's > opcode registers properly otherwise SPI controller driver doesn't > know how to communicate with the SPI flash device. > > Rather than passively doing the opcode configuration, let's add a > simple DTS property "intel,spi-lock-down" and let the driver call > the opcode configuration function if required by such FSP. > > Signed-off-by: Bin Meng <bmeng...@gmail.com> > --- > > drivers/spi/ich.c | 22 ++++++++++++++++++++++ > drivers/spi/ich.h | 1 + > 2 files changed, 23 insertions(+)
Does this go in a binding file somewhere? Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot