* [U-Boot] [PATCH] omap3/mem.c: remove unused defines
@ 2012-11-02 10:14 Andreas Bießmann
2012-12-10 20:18 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Bießmann @ 2012-11-02 10:14 UTC (permalink / raw)
To: u-boot
These GPMC_CS defines are a leftover from prior gpmc_init(). Commit 187af954
removed the need for these definitions but missed to remove them.
Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
Cc: Tom Rini <trini@ti.com>
---
arch/arm/cpu/armv7/omap3/mem.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/arch/arm/cpu/armv7/omap3/mem.c b/arch/arm/cpu/armv7/omap3/mem.c
index 2fe5ac7..1ca37a9 100644
--- a/arch/arm/cpu/armv7/omap3/mem.c
+++ b/arch/arm/cpu/armv7/omap3/mem.c
@@ -42,13 +42,6 @@ static const u32 gpmc_m_nand[GPMC_MAX_REG] = {
M_NAND_GPMC_CONFIG5,
M_NAND_GPMC_CONFIG6, 0
};
-
-#if defined(CONFIG_ENV_IS_IN_NAND)
-#define GPMC_CS 0
-#else
-#define GPMC_CS 1
-#endif
-
#endif
#if defined(CONFIG_CMD_ONENAND)
@@ -60,13 +53,6 @@ static const u32 gpmc_onenand[GPMC_MAX_REG] = {
ONENAND_GPMC_CONFIG5,
ONENAND_GPMC_CONFIG6, 0
};
-
-#if defined(CONFIG_ENV_IS_IN_ONENAND)
-#define GPMC_CS 0
-#else
-#define GPMC_CS 1
-#endif
-
#endif
/********************************************************
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] omap3/mem.c: remove unused defines
2012-11-02 10:14 [U-Boot] [PATCH] omap3/mem.c: remove unused defines Andreas Bießmann
@ 2012-12-10 20:18 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2012-12-10 20:18 UTC (permalink / raw)
To: u-boot
On Fri, Nov 02, 2012 at 11:14:57AM +0100, Andreas Bie??mann wrote:
> These GPMC_CS defines are a leftover from prior gpmc_init(). Commit 187af954
> removed the need for these definitions but missed to remove them.
>
> Signed-off-by: Andreas Bie??mann <andreas.devel@googlemail.com>
> Cc: Tom Rini <trini@ti.com>
Applied to u-boot-ti/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121210/30e32813/attachment.pgp>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-10 20:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-02 10:14 [U-Boot] [PATCH] omap3/mem.c: remove unused defines Andreas Bießmann
2012-12-10 20:18 ` Tom Rini
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.