diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-06 21:42:38 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-12-15 11:44:21 +0800 |
commit | 17e754492ffd3e308763f2543c9b8e4f85fac2f1 (patch) | |
tree | 057ea73d5869bc76928d810e44f1f9c6d89f8cd3 /doc/driver-model/serial-howto.rst | |
parent | 674990c0dc21ecedaddb1f923455027bd489914c (diff) |
spi: ich: Move the protection/lockdown code into a function
Reduce the size of the probe function but putting this code into its own
function.
Also remove the assumption that the PCH is always a parent of the SPI
controller, as this is not the case APL platforms. Use driver model to
find the PCH instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'doc/driver-model/serial-howto.rst')
0 files changed, 0 insertions, 0 deletions