]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
omap: am335x_evm: remove unused definitions
authorSteve Sakoman <steve@sakoman.com>
Mon, 4 Jun 2012 05:26:14 +0000 (05:26 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:09 +0000 (14:58 +0200)
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
include/configs/am335x_evm.h

index 5e2d53ab42c5e355a967b4c666ac373fae6f89c2..f2e355c7966ae050277f53ae37010292b236ed2d 100644 (file)
 #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
  */
index d0fbc8821482b28f7ef6a941998b4e487b434966..89e2aa07b7536e90521cbf0743912d23e9eb60cf 100644 (file)
@@ -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