summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-10-27 01:29:45 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-04 22:06:37 +0100
commite99be769078dc8391202be8d63d2d8f7545bea2f (patch)
treec46057f28790f3732cd792c13f591f7f3d73b3fe
parent6bc31fbe08f9036f5854a9e2399a43f3a96d1e2e (diff)
vision2: Remove unused get_board_rev function
No board information is passed for VISION2, so remove get_board_rev function. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
-rw-r--r--board/ttcontrol/vision2/vision2.c9
-rw-r--r--include/configs/vision2.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c
index aec4aa8d87..f556d308e3 100644
--- a/board/ttcontrol/vision2/vision2.c
+++ b/board/ttcontrol/vision2/vision2.c
@@ -43,8 +43,6 @@
DECLARE_GLOBAL_DATA_PTR;
-static u32 system_rev;
-
static struct fb_videomode nec_nl6448bc26_09c = {
"NEC_NL6448BC26-09C",
60, /* Refresh */
@@ -150,13 +148,6 @@ static void init_drive_strength(void)
PAD_CTL_DRV_HIGH | PAD_CTL_SRE_FAST);
}
-u32 get_board_rev(void)
-{
- system_rev = get_cpu_rev();
-
- return system_rev;
-}
-
int dram_init(void)
{
gd->ram_size = get_ram_size((long *)PHYS_SDRAM_1,
diff --git a/include/configs/vision2.h b/include/configs/vision2.h
index 29ef5411a9..f321ad2dbc 100644
--- a/include/configs/vision2.h
+++ b/include/configs/vision2.h
@@ -36,7 +36,6 @@
#define CONFIG_DISPLAY_BOARDINFO
#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
-#define CONFIG_REVISION_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
#define CONFIG_BOARD_LATE_INIT