diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-10-19 01:20:57 (GMT) |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-10-27 07:13:47 (GMT) |
commit | ab20107468de5bf6b9affa93b17f2284cc838b5b (patch) | |
tree | aaa3c18ef2f5c903fa534da2069ed281f0c079b0 /dts | |
parent | fb2c53091ff457ce8a0b547f37e7374d10d855ea (diff) | |
download | u-boot-ab20107468de5bf6b9affa93b17f2284cc838b5b.tar.xz |
spi: ich: Lock down controller settings if required
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.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'dts')
0 files changed, 0 insertions, 0 deletions