Revert "x86: fsp: Configure SPI opcode registers before SPI is locked down"
authorBin Meng <bmeng.cn@gmail.com>
Thu, 19 Oct 2017 01:20:56 +0000 (18:20 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 27 Oct 2017 07:13:47 +0000 (15:13 +0800)
commitfb2c53091ff457ce8a0b547f37e7374d10d855ea
treef23702116791721129beca28eb990b8ce725bee9
parentaa9c5956c9b921f3745e024d1572fd3dcc283091
Revert "x86: fsp: Configure SPI opcode registers before SPI is locked down"

This reverts commit 1e6ebee667da47fd3a87839a239a7574c66f5659.

It's not appropriate to call the Intel SPI driver specific stuff in
the FSP codes. We may add a simple DTS property "intel,spi-lock-down"
and let the Intel SPI driver call these stuff instead.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/Kconfig
arch/x86/lib/fsp/fsp_common.c