diff mbox

[U-Boot] omap: am335x_evm: remove unused definitions

Message ID 1338823574-16702-1-git-send-email-steve@sakoman.com
State Accepted
Commit 28adc91a28c413bef99e7b48c7318c05a12fb018
Delegated to: Tom Rini
Headers show

Commit Message

Steve Sakoman June 4, 2012, 3:26 p.m. UTC
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.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 board/ti/am335x/evm.c        |    5 -----
 include/configs/am335x_evm.h |    1 -
 2 files changed, 0 insertions(+), 6 deletions(-)

Comments

Tom Rini June 21, 2012, 5:19 p.m. UTC | #1
On Mon, Jun 04, 2012 at 08:26:14AM -0700, Steve Sakoman wrote:

> 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.
> 
> Signed-off-by: Steve Sakoman <steve@sakoman.com>

Queued for u-boot-ti/master, thanks!
Tom Rini June 21, 2012, 5:20 p.m. UTC | #2
On Thu, Jun 21, 2012 at 10:19:23AM -0700, Tom Rini wrote:
> On Mon, Jun 04, 2012 at 08:26:14AM -0700, Steve Sakoman wrote:
> 
> > 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.
> > 
> > Signed-off-by: Steve Sakoman <steve@sakoman.com>
> 
> Queued for u-boot-ti/master, thanks!

Er, u-boot-ti/next, sorry/thanks!
diff mbox

Patch

diff --git a/board/ti/am335x/evm.c b/board/ti/am335x/evm.c
index 13dc603..33758b5 100644
--- a/board/ti/am335x/evm.c
+++ b/board/ti/am335x/evm.c
@@ -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
  */
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index d0fbc88..89e2aa0 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -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