[U-Boot] [PATCH 02/10] drivers: spi: add config to consider command bytes when writting to flash

Álvaro Fernández Rojas
2017-05-30T17:34:11Z

Hi Jagan,

El 30/05/2017 a las 7:04, Jagan Teki escribió:
> On Sat, May 20, 2017 at 1:36 PM, Álvaro Fernández Rojas
> <noltari@gmail.com> wrote:
>> Hi Simon,
>>
>> El 20/05/2017 a las 4:29, Simon Glass escribió:
>>> Hi Alvaro,
>>>
>>> On 18 May 2017 at 13:29, Álvaro Fernández Rojas <noltari@gmail.com> wrote:
>>>> Command bytes are part of the written bytes and they should be taken into
>>>> account when sending a spi transfer.
>>>>
>>>> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>>>> ---
>>>> drivers/mtd/spi/spi_flash.c | 2 +-
>>>> drivers/spi/Kconfig | 3 +++
>>>> include/spi.h | 8 +++++++-
>>>> 3 files changed, 11 insertions(+), 2 deletions(-)
>
> Is this patch not part of your v2 BCM-SPI changes?
Nope, I removed it and decided to always consider command bytes as suggested by
Simon:
https://lists.denx.de/pipermail/u-boot/2017-May/292445.html

>
> thanks!
>

Than,
Álvaro.