Skip to contentSkip to conversation

omap: am335x_evm: remove unused definitions

PATCH New Steve Sakoman 2 participants 3 messages Jun 4, 2012 – Jun 21, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap: am335x_evm: remove unused definitions

UART_RESET, UART_CLK_RUNNING_MASK, and UART_SMART_IDLE_EN are defined inn evm.c but not used. Also removes unnecessary include of serial.h

PHYS_DRAM_1_SIZE is defined in am335x_evm.h but never used.

---
 board/ti/am335x/evm.c        |    5 -----
 include/configs/am335x_evm.h |    1 -
 2 files changed, 0 insertions(+), 6 deletions(-)
board/ti/am335x/evm.c +0 -5
index 13dc603..33758b5 100644
@@ -17,15 +17,10 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/common_def.h>
-#include <serial.h>
 #include <i2c.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#define UART_RESET		(0x1 << 1)
-#define UART_CLK_RUNNING_MASK	0x1
-#define UART_SMART_IDLE_EN	(0x1 << 0x3)
-
 /*
  * Basic board specific setup
  */
include/configs/am335x_evm.h +0 -1
index d0fbc88..89e2aa0 100644
@@ -85,7 +85,6 @@
  /* Physical Memory Map */
 #define CONFIG_NR_DRAM_BANKS		1		/*  1 bank of DRAM */
 #define PHYS_DRAM_1			0x80000000	/* DRAM Bank #1 */
-#define PHYS_DRAM_1_SIZE		0x10000000 /*(0x80000000 / 8) 256 MB */
 #define CONFIG_MAX_RAM_BANK_SIZE	(1024 << 20)	/* 1GB */
 
 #define CONFIG_SYS_SDRAM_BASE		PHYS_DRAM_1
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 omap: am335x_evm: remove unused definitions

Quoted 7 lines · Steve Sakoman

UART_RESET, UART_CLK_RUNNING_MASK, and UART_SMART_IDLE_EN are defined inn evm.c but not used. Also removes unnecessary include of serial.h

PHYS_DRAM_1_SIZE is defined in am335x_evm.h but never used.

Queued for 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/20120621/5144fed8/attachment.pgp>
#2 lore raw

PATCH 1/1 omap: am335x_evm: remove unused definitions

Quoted 11 lines · Tom Rini
Quoted 7 lines · Steve Sakoman

UART_RESET, UART_CLK_RUNNING_MASK, and UART_SMART_IDLE_EN are defined inn evm.c but not used. Also removes unnecessary include of serial.h

PHYS_DRAM_1_SIZE is defined in am335x_evm.h but never used.

Queued for u-boot-ti/master, thanks!

Er, u-boot-ti/next, sorry/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/20120621/f73e4cd9/attachment.pgp>