Skip to contentSkip to conversation

omap3/mem.c: remove unused defines

PATCH New Andreas Bießmann 2 participants 2 messages Nov 2, 2012 – Dec 10, 2012 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap3/mem.c: remove unused defines

These GPMC_CS defines are a leftover from prior gpmc_init(). Commit 187af954 removed the need for these definitions but missed to remove them.

---
 arch/arm/cpu/armv7/omap3/mem.c |   14 --------------
 1 file changed, 14 deletions(-)
arch/arm/cpu/armv7/omap3/mem.c +0 -14
index 2fe5ac7..1ca37a9 100644
@@ -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
 
 /********************************************************
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 omap3/mem.c: remove unused defines

Quoted 5 lines · Andreas Bie??mann

These GPMC_CS defines are a leftover from prior gpmc_init(). Commit 187af954 removed the need for these definitions but missed to remove them.

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
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>