[U-Boot] [PATCH] x86: baytrail: Configure SPI BIOS parameters
Bin Meng
bmeng.cn at gmail.com
Mon Jan 23 09:37:56 CET 2017
Hi Stefan,
On Sat, Jan 21, 2017 at 11:52 AM, Simon Glass <sjg at chromium.org> wrote:
> Hi Stefan,
>
> On 20 January 2017 at 07:26, Stefan Roese <sr at 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 at denx.de>
>> Cc: Simon Glass <sjg at chromium.org>
>> Cc: Bin Meng <bmeng.cn at 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
More information about the U-Boot
mailing list