[U-Boot] [PATCH] x86: baytrail: Configure SPI BIOS parameters

Simon Glass
2017-01-21T03:52:08Z

Hi Stefan,

On 20 January 2017 at 07:26, Stefan Roese <sr@denx.de> wrote:
> Without configuring these registers in the SPI controller, the Linux
> MTD device driver is not able to correctly read/write to the SPI
> NOR chip at all. In fact, the chip is not detected at all.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Bin Meng <bmeng.cn@gmail.com>
> ---
> arch/x86/cpu/baytrail/cpu.c | 57 +++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 57 insertions(+)

Can we do this in the SPI driver? It already has register definitions.

Regards,
Simon