[U-Boot] [UBOOT][PATCHv3 5/7] spi: add TI QSPI driver

Sourav Poddar sourav.poddar at ti.com
Thu Oct 3 20:26:13 CEST 2013


On Thursday 03 October 2013 11:19 PM, Jagan Teki wrote:
> Hi Sourav,
>
> Please try to code the driver as specified in below thread!
> http://lists.denx.de/pipermail/u-boot/2013-August/160472.html
Ok.
> On Fri, Sep 20, 2013 at 8:21 AM, Nobuhiro Iwamatsu
> <nobuhiro.iwamatsu.yj at renesas.com>  wrote:
>> Hi,
>>
>> 2013/9/18 Sourav Poddar<sourav.poddar at ti.com>:
>>> From: Matt Porter<matt.porter at linaro.org>
>>>
>>> Adds a SPI master driver for the TI QSPI peripheral.
>>>
>>> Signed-off-by: Matt Porter<matt.porter at linaro.org>
>>> Signed-off-by: Sourav Poddar<sourav.poddar at ti.com>
>>> [Added quad read support and memory mapped support).
>>> ---
>>>   drivers/spi/Makefile  |    1 +
>>>   drivers/spi/ti_qspi.c |  324 +++++++++++++++++++++++++++++++++++++++++++++++++
>>>   2 files changed, 325 insertions(+), 0 deletions(-)
>>>   create mode 100644 drivers/spi/ti_qspi.c
>>>
>>> diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
>>> index 91d24ce..e5941b0 100644
>>> --- a/drivers/spi/Makefile
>>> +++ b/drivers/spi/Makefile
>>> @@ -38,6 +38,7 @@ COBJS-$(CONFIG_FDT_SPI) += fdt_spi.o
>>>   COBJS-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
>>>   COBJS-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
>>>   COBJS-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
>>> +COBJS-$(CONFIG_TI_QSPI) += ti_qspi.o
>>>   COBJS-$(CONFIG_XILINX_SPI) += xilinx_spi.o
>>>   COBJS-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
>>>
>>> diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c
>>> new file mode 100644
>>> index 0000000..3e88cf4
>>> --- /dev/null
>>> +++ b/drivers/spi/ti_qspi.c
>>> @@ -0,0 +1,324 @@
>>> +/*
>>> + * TI QSPI driver
>>> + *
>>> + * Copyright (C) 2013, Texas Instruments, Incorporated
>>> + *
>>> + * This program is free software; you can redistribute it and/or
>>> + * modify it under the terms of the GNU General Public License as
>>> + * published by the Free Software Foundation; either version 2 of
>>> + * the License, or (at your option) any later version.
>>> + *
>>> + * This program is distributed in the hope that it will be useful,
>>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE.  See the
>>> + * GNU General Public License for more details.
>>> + */
>> Could you change to  'SPDX-License-Identifier:    GPL-2.0+', please?
>>
>> Best regards,
>>    Nobuhiro
>> --
>> Nobuhiro Iwamatsu
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>
>



More information about the U-Boot mailing list