From: Tony Lindgren <tony@atomide.com>
To: "Choraria, Rohit" <rohitkc@ti.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] OMAP: FLASH: Move Flash specific device info in a separate board file
Date: Fri, 23 Nov 2007 13:35:12 -0800 [thread overview]
Message-ID: <20071123213512.GK559@atomide.com> (raw)
In-Reply-To: <AC2D475575504148943F5EB0938951C4012717DD@dbde01.ent.ti.com>
Hi,
* Choraria, Rohit <rohitkc@ti.com> [071120 06:24]:
> Hi,
> This patch moves the SDP3430 NOR and OneNAND devices to a new file
> board-3430sdp-flash.c. It also adds the support for ethernet on ES2 SDP.
<snip>
> --- linux-omap.orig/include/asm-arm/arch-omap/gpmc.h 2007-11-19 13:36:16.000000000 -0500
> +++ linux-omap/include/asm-arm/arch-omap/gpmc.h 2007-11-20 11:24:38.032203488 -0500
> @@ -14,6 +14,36 @@
> /* Maximum Number of Chip Selects */
> #define GPMC_CS_NUM 8
>
> +#define GPMC_REVISION 0x00
> +#define GPMC_SYSCONFIG 0x10
> +#define GPMC_SYSSTATUS 0x14
> +#define GPMC_IRQSTATUS 0x18
> +#define GPMC_IRQENABLE 0x1C
> +#define GPMC_TIMEOUT_CTRL 0x40
> +#define GPMC_ERR_ADDRESS 0x44
> +#define GPMC_ERR_TYPE 0x48
> +#define GPMC_CONFIG 0x50
> +#define GPMC_STATUS 0x54
> +#define GPMC_PREFETCH_CONFIG1 0x1e0
> +#define GPMC_PREFETCH_CONFIG2 0x1e4
> +#define GPMC_PREFETCH_CONTROL 0x1e8
> +#define GPMC_PREFETCH_STATUS 0x1f0
> +#define GPMC_ECC_CONFIG 0x1F4
> +#define GPMC_ECC_CONTROL 0x1F8
> +#define GPMC_ECC_SIZE_CONFIG 0x1FC
> +#define GPMC_ECC1_RESULT 0x200
> +#define GPMC_ECC2_RESULT 0x204
> +#define GPMC_ECC3_RESULT 0x208
> +#define GPMC_ECC4_RESULT 0x20C
> +#define GPMC_ECC5_RESULT 0x210
> +#define GPMC_ECC6_RESULT 0x214
> +#define GPMC_ECC7_RESULT 0x218
> +#define GPMC_ECC8_RESULT 0x21C
> +#define GPMC_ECC9_RESULT 0x220
> +
> +#define GPMC_CS0_BASE 0x60
> +#define GPMC_CS_SIZE 0x30
> +
...
How about actually starting to use the generic gpmc code rather than
moving the defines around?
Tony
prev parent reply other threads:[~2007-11-23 21:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-20 14:23 [PATCH] OMAP: FLASH: Move Flash specific device info in a separate board file Choraria, Rohit
2007-11-23 21:35 ` Tony Lindgren [this message]
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=20071123213512.GK559@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=rohitkc@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox