All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Hunter <jon-hunter@ti.com>
To: Afzal Mohammed <afzal@ti.com>
Cc: khilman@ti.com, nm@ti.com, linux@arm.linux.org.uk,
	sameo@linux.intel.com, tony@atomide.com,
	artem.bityutskiy@linux.intel.com, linux-kernel@vger.kernel.org,
	dbaryshkov@gmail.com, vimal.newwork@gmail.com,
	grinberg@compulab.co.il, mike@compulab.co.il,
	linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org,
	dwmw2@infradead.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 4/9] ARM: OMAP2+: gpmc-nand: populate gpmc configs
Date: Tue, 10 Apr 2012 14:24:58 -0500	[thread overview]
Message-ID: <4F84890A.30500@ti.com> (raw)
In-Reply-To: <6c120ab77d0900a6f977246bc58fb37c62280371.1333640054.git.afzal@ti.com>

Hi Afzal,

On 04/05/2012 10:46 AM, Afzal Mohammed wrote:
> Currently gpmc is configured in platform for nand.
> As configuring gpmc has been moved to gpmc driver,
> populate details needed for the driver to configure
> gpmc. gpmc driver would configure based on this
> information.
>
> Signed-off-by: Afzal Mohammed<afzal@ti.com>
> ---
>   arch/arm/mach-omap2/gpmc-nand.c        |   97 ++++++++++++++------------------
>   arch/arm/plat-omap/include/plat/nand.h |    8 ++-
>   2 files changed, 48 insertions(+), 57 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm/mach-omap2/gpmc-nand.c
> index 386dec8..85de31f 100644
> --- a/arch/arm/mach-omap2/gpmc-nand.c
> +++ b/arch/arm/mach-omap2/gpmc-nand.c
> @@ -21,24 +21,38 @@
>   #include<plat/board.h>
>   #include<plat/gpmc.h>
>
> -static struct resource gpmc_nand_resource = {
> -	.flags		= IORESOURCE_MEM,
> +
> +#define	GPMC_NAND_CONFIG_NUM	4

Where does 4 come from?

Jon

WARNING: multiple messages have this Message-ID (diff)
From: Jon Hunter <jon-hunter@ti.com>
To: Afzal Mohammed <afzal@ti.com>
Cc: tony@atomide.com, khilman@ti.com, linux@arm.linux.org.uk,
	dwmw2@infradead.org, sameo@linux.intel.com,
	grinberg@compulab.co.il, mike@compulab.co.il, nm@ti.com,
	artem.bityutskiy@linux.intel.com, vimal.newwork@gmail.com,
	dbaryshkov@gmail.com, linux-omap@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 4/9] ARM: OMAP2+: gpmc-nand: populate gpmc configs
Date: Tue, 10 Apr 2012 14:24:58 -0500	[thread overview]
Message-ID: <4F84890A.30500@ti.com> (raw)
In-Reply-To: <6c120ab77d0900a6f977246bc58fb37c62280371.1333640054.git.afzal@ti.com>

Hi Afzal,

On 04/05/2012 10:46 AM, Afzal Mohammed wrote:
> Currently gpmc is configured in platform for nand.
> As configuring gpmc has been moved to gpmc driver,
> populate details needed for the driver to configure
> gpmc. gpmc driver would configure based on this
> information.
>
> Signed-off-by: Afzal Mohammed<afzal@ti.com>
> ---
>   arch/arm/mach-omap2/gpmc-nand.c        |   97 ++++++++++++++------------------
>   arch/arm/plat-omap/include/plat/nand.h |    8 ++-
>   2 files changed, 48 insertions(+), 57 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm/mach-omap2/gpmc-nand.c
> index 386dec8..85de31f 100644
> --- a/arch/arm/mach-omap2/gpmc-nand.c
> +++ b/arch/arm/mach-omap2/gpmc-nand.c
> @@ -21,24 +21,38 @@
>   #include<plat/board.h>
>   #include<plat/gpmc.h>
>
> -static struct resource gpmc_nand_resource = {
> -	.flags		= IORESOURCE_MEM,
> +
> +#define	GPMC_NAND_CONFIG_NUM	4

Where does 4 come from?

Jon

WARNING: multiple messages have this Message-ID (diff)
From: jon-hunter@ti.com (Jon Hunter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 4/9] ARM: OMAP2+: gpmc-nand: populate gpmc configs
Date: Tue, 10 Apr 2012 14:24:58 -0500	[thread overview]
Message-ID: <4F84890A.30500@ti.com> (raw)
In-Reply-To: <6c120ab77d0900a6f977246bc58fb37c62280371.1333640054.git.afzal@ti.com>

Hi Afzal,

On 04/05/2012 10:46 AM, Afzal Mohammed wrote:
> Currently gpmc is configured in platform for nand.
> As configuring gpmc has been moved to gpmc driver,
> populate details needed for the driver to configure
> gpmc. gpmc driver would configure based on this
> information.
>
> Signed-off-by: Afzal Mohammed<afzal@ti.com>
> ---
>   arch/arm/mach-omap2/gpmc-nand.c        |   97 ++++++++++++++------------------
>   arch/arm/plat-omap/include/plat/nand.h |    8 ++-
>   2 files changed, 48 insertions(+), 57 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm/mach-omap2/gpmc-nand.c
> index 386dec8..85de31f 100644
> --- a/arch/arm/mach-omap2/gpmc-nand.c
> +++ b/arch/arm/mach-omap2/gpmc-nand.c
> @@ -21,24 +21,38 @@
>   #include<plat/board.h>
>   #include<plat/gpmc.h>
>
> -static struct resource gpmc_nand_resource = {
> -	.flags		= IORESOURCE_MEM,
> +
> +#define	GPMC_NAND_CONFIG_NUM	4

Where does 4 come from?

Jon

WARNING: multiple messages have this Message-ID (diff)
From: Jon Hunter <jon-hunter@ti.com>
To: Afzal Mohammed <afzal@ti.com>
Cc: <tony@atomide.com>, <khilman@ti.com>, <linux@arm.linux.org.uk>,
	<dwmw2@infradead.org>, <sameo@linux.intel.com>,
	<grinberg@compulab.co.il>, <mike@compulab.co.il>, <nm@ti.com>,
	<artem.bityutskiy@linux.intel.com>, <vimal.newwork@gmail.com>,
	<dbaryshkov@gmail.com>, <linux-omap@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mtd@lists.infradead.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 4/9] ARM: OMAP2+: gpmc-nand: populate gpmc configs
Date: Tue, 10 Apr 2012 14:24:58 -0500	[thread overview]
Message-ID: <4F84890A.30500@ti.com> (raw)
In-Reply-To: <6c120ab77d0900a6f977246bc58fb37c62280371.1333640054.git.afzal@ti.com>

Hi Afzal,

On 04/05/2012 10:46 AM, Afzal Mohammed wrote:
> Currently gpmc is configured in platform for nand.
> As configuring gpmc has been moved to gpmc driver,
> populate details needed for the driver to configure
> gpmc. gpmc driver would configure based on this
> information.
>
> Signed-off-by: Afzal Mohammed<afzal@ti.com>
> ---
>   arch/arm/mach-omap2/gpmc-nand.c        |   97 ++++++++++++++------------------
>   arch/arm/plat-omap/include/plat/nand.h |    8 ++-
>   2 files changed, 48 insertions(+), 57 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm/mach-omap2/gpmc-nand.c
> index 386dec8..85de31f 100644
> --- a/arch/arm/mach-omap2/gpmc-nand.c
> +++ b/arch/arm/mach-omap2/gpmc-nand.c
> @@ -21,24 +21,38 @@
>   #include<plat/board.h>
>   #include<plat/gpmc.h>
>
> -static struct resource gpmc_nand_resource = {
> -	.flags		= IORESOURCE_MEM,
> +
> +#define	GPMC_NAND_CONFIG_NUM	4

Where does 4 come from?

Jon

  reply	other threads:[~2012-04-10 19:24 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1333640054.git.afzal@ti.com>
2012-04-05 15:45 ` [PATCH v3 1/9] ARM: OMAP2+: gpmc: driver conversion Afzal Mohammed
2012-04-05 15:45   ` Afzal Mohammed
2012-04-05 15:45   ` Afzal Mohammed
2012-04-05 15:45   ` Afzal Mohammed
2012-04-05 20:21   ` Jon Hunter
2012-04-05 20:21     ` Jon Hunter
2012-04-05 20:21     ` Jon Hunter
2012-04-05 20:21     ` Jon Hunter
2012-04-05 20:34     ` Jon Hunter
2012-04-05 20:34       ` Jon Hunter
2012-04-05 20:34       ` Jon Hunter
2012-04-06  6:52     ` Mohammed, Afzal
2012-04-06  6:52       ` Mohammed, Afzal
2012-04-06  6:52       ` Mohammed, Afzal
2012-04-09 19:50       ` Jon Hunter
2012-04-09 19:50         ` Jon Hunter
2012-04-09 19:50         ` Jon Hunter
2012-04-10 11:00         ` Mohammed, Afzal
2012-04-10 11:00           ` Mohammed, Afzal
2012-04-10 11:00           ` Mohammed, Afzal
2012-04-10 19:23           ` Jon Hunter
2012-04-10 19:23             ` Jon Hunter
2012-04-10 19:23             ` Jon Hunter
2012-04-11  5:11             ` Mohammed, Afzal
2012-04-11  5:11               ` Mohammed, Afzal
2012-04-11  5:11               ` Mohammed, Afzal
2012-04-11 15:47               ` Jon Hunter
2012-04-11 15:47                 ` Jon Hunter
2012-04-11 15:47                 ` Jon Hunter
2012-04-05 15:46 ` [PATCH v3 2/9] ARM: OMAP2+: gpmc: registers for nand driver Afzal Mohammed
2012-04-05 15:46   ` Afzal Mohammed
2012-04-05 15:46   ` Afzal Mohammed
2012-04-05 15:46 ` [PATCH v3 3/9] ARM: OMAP2+: nand: create platform data structure Afzal Mohammed
2012-04-05 15:46   ` Afzal Mohammed
2012-04-05 15:46   ` Afzal Mohammed
2012-04-05 15:46 ` [PATCH v3 4/9] ARM: OMAP2+: gpmc-nand: populate gpmc configs Afzal Mohammed
2012-04-05 15:46   ` Afzal Mohammed
2012-04-05 15:46   ` Afzal Mohammed
2012-04-10 19:24   ` Jon Hunter [this message]
2012-04-10 19:24     ` Jon Hunter
2012-04-10 19:24     ` Jon Hunter
2012-04-10 19:24     ` Jon Hunter
2012-04-11  5:15     ` Mohammed, Afzal
2012-04-11  5:15       ` Mohammed, Afzal
2012-04-11  5:15       ` Mohammed, Afzal
2012-04-05 15:46 ` [PATCH v3 5/9] ARM: OMAP2+: gpmc-smsc911x: gpmc driver information Afzal Mohammed
2012-04-05 15:46   ` Afzal Mohammed
2012-04-05 15:46   ` Afzal Mohammed
2012-04-05 15:46 ` [PATCH v3 6/9] mtd: nand: omap2: obtain memory from resource Afzal Mohammed
2012-04-05 15:46   ` Afzal Mohammed
2012-04-05 15:46   ` Afzal Mohammed
2012-04-05 15:47 ` [PATCH v3 7/9] mtd: nand: omap2: use gpmc provided irqs Afzal Mohammed
2012-04-05 15:47   ` Afzal Mohammed
2012-04-05 15:47   ` Afzal Mohammed
2012-04-05 15:47 ` [PATCH v3 8/9] mtd: nand: omap2: handle nand on gpmc Afzal Mohammed
2012-04-05 15:47   ` Afzal Mohammed
2012-04-05 15:47   ` Afzal Mohammed
2012-04-05 15:47 ` [TMP] OMAP3EVM: Test gpmc nand & smsc911x Afzal Mohammed
2012-04-05 16:05   ` Afzal Mohammed
2012-04-05 15:47   ` Afzal Mohammed
2012-04-25 16:47   ` Tony Lindgren
2012-04-25 16:47     ` Tony Lindgren
2012-04-25 16:47     ` Tony Lindgren
2012-04-26  5:21     ` Mohammed, Afzal
2012-04-26  5:21       ` Mohammed, Afzal
2012-04-26  5:21       ` Mohammed, Afzal

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=4F84890A.30500@ti.com \
    --to=jon-hunter@ti.com \
    --cc=afzal@ti.com \
    --cc=artem.bityutskiy@linux.intel.com \
    --cc=dbaryshkov@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=grinberg@compulab.co.il \
    --cc=khilman@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mike@compulab.co.il \
    --cc=nm@ti.com \
    --cc=sameo@linux.intel.com \
    --cc=tony@atomide.com \
    --cc=vimal.newwork@gmail.com \
    /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.