All of lore.kernel.org
 help / color / mirror / Atom feed
From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/6] zynqmp: Add SPI driver support for ZynqMP
Date: Mon, 20 Apr 2015 06:52:18 +0000	[thread overview]
Message-ID: <50984a16-a253-4970-bfad-0312101b6520@BL2FFO11FD043.protection.gbl> (raw)
In-Reply-To: <CAD6G_RRiCJLKfU59ajkOFJPhK2AjM-1SE75KPUqKdmENgyi0iA@mail.gmail.com>

Hi Jagan,

> -----Original Message-----
> From: Jagan Teki [mailto:jagannadh.teki at gmail.com]
> Sent: Friday, April 17, 2015 2:11 PM
> To: Michal Simek
> Cc: u-boot at lists.denx.de; Tom Rini; Siva Durga Prasad Paladugu
> Subject: Re: [U-Boot] [PATCH 4/6] zynqmp: Add SPI driver support for
> ZynqMP
> 
> On 17 April 2015 at 11:02, Michal Simek <michal.simek@xilinx.com> wrote:
> > On 04/16/2015 08:13 PM, Jagan Teki wrote:
> >> On 15 April 2015 at 19:03, Michal Simek <michal.simek@xilinx.com> wrote:
> >>> From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
> >>>
> >>> Added the SPI driver support for ZynqMP The controller is same as
> >>> zynq SPI controller
> >>>
> >>> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
> >>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> >>> ---
> >>>
> >>>  arch/arm/include/asm/arch-zynqmp/hardware.h | 3 +++
> >>>  include/configs/xilinx_zynqmp.h             | 8 ++++++++
> >>>  2 files changed, 11 insertions(+)
> >>>
> >>> diff --git a/arch/arm/include/asm/arch-zynqmp/hardware.h
> >>> b/arch/arm/include/asm/arch-zynqmp/hardware.h
> >>> index 1fedb1bb4b94..c9dc49d78317 100644
> >>> --- a/arch/arm/include/asm/arch-zynqmp/hardware.h
> >>> +++ b/arch/arm/include/asm/arch-zynqmp/hardware.h
> >>> @@ -11,6 +11,9 @@
> >>>  #define ZYNQ_SERIAL_BASEADDR0  0xFF000000  #define
> >>> ZYNQ_SERIAL_BASEADDR1  0xFF001000
> >>>
> >>> +#define ZYNQ_SPI_BASEADDR0     0xFF040000
> >>> +#define ZYNQ_SPI_BASEADDR1     0xFF050000
> >>> +
> >>>  #define ZYNQ_I2C_BASEADDR0     0xFF020000
> >>>  #define ZYNQ_I2C_BASEADDR1     0xFF030000
> >>>
> >>> diff --git a/include/configs/xilinx_zynqmp.h
> >>> b/include/configs/xilinx_zynqmp.h index 54bca6d47b72..df7541b85baf
> >>> 100644
> >>> --- a/include/configs/xilinx_zynqmp.h
> >>> +++ b/include/configs/xilinx_zynqmp.h
> >>> @@ -71,6 +71,14 @@
> >>>  #define CONFIG_CMD_ELF
> >>>  #define CONFIG_MP
> >>>
> >>> +/* SPI */
> >>> +#ifdef CONFIG_ZYNQ_SPI
> >>> +# define CONFIG_SPI_FLASH
> >>> +# define CONFIG_SPI_FLASH_SST
> >>> +# define CONFIG_CMD_SPI
> >>
> >> CMD_SPI is never been verified I suppose, if so not required at this
> >> point of time.
> >
> > It is enabled on 75 platforms that's why I can't see any problem with
> > it. If something is not verified then it should be verified. If it is
> > completely broken it should be removed.
> 
> I do understand that it uses more boards based on their usage and need, I
> believe zynq_spi mostly for flash related ops, if ie the case CMD_SF enough I
> guess.

We didn?t need it at this point of time and also not verified. 
Its mostly flash related ops which we use. Will send v2 for the same.

Regards,
Siva

> 
> thaks!
> --
> Jagan.

  reply	other threads:[~2015-04-20  6:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15 13:33 [U-Boot] [PATCH 1/6] zynqmp: Add support for emulation platform - Veloce Michal Simek
2015-04-15 13:33 ` [U-Boot] [PATCH 2/6] zynqmp: Add support for EMMC bootmode Michal Simek
2015-04-15 13:33 ` [U-Boot] [PATCH 3/6] zynqmp: i2c: Enable i2c driver for zynqMP Michal Simek
2015-04-15 13:33 ` [U-Boot] [PATCH 4/6] zynqmp: Add SPI driver support for ZynqMP Michal Simek
2015-04-16 18:13   ` Jagan Teki
2015-04-17  5:32     ` Michal Simek
2015-04-17  8:40       ` Jagan Teki
2015-04-20  6:52         ` Siva Durga Prasad Paladugu [this message]
2015-04-15 13:33 ` [U-Boot] [PATCH 5/6] zynqmp: Enable FS_GENERIC option Michal Simek
2015-04-15 13:33 ` [U-Boot] [PATCH 6/6] zynqmp: Enable SDHCI0 options Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50984a16-a253-4970-bfad-0312101b6520@BL2FFO11FD043.protection.gbl \
    --to=siva.durga.paladugu@xilinx.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.