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

Bin Meng
2017-01-23T08:37:56Z

Hi Stefan,

On Sat, Jan 21, 2017 at 11:52 AM, Simon Glass <sjg@chromium.org> wrote:
> 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.

I would also do this in the SPI driver, unless it is not possible?

Regards,
Bin