]> git.sur5r.net Git - u-boot/commitdiff
vision2: Remove unused get_board_rev function
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 27 Oct 2011 01:29:45 +0000 (01:29 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 4 Nov 2011 21:06:37 +0000 (22:06 +0100)
No board information is passed for VISION2, so remove get_board_rev function.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/ttcontrol/vision2/vision2.c
include/configs/vision2.h

index aec4aa8d8710665644a9cd8e265a26604f948022..f556d308e329c63ad8ec0c3d07072e72b3052abf 100644 (file)
@@ -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,
index 29ef5411a9074654807583dce96e6f6fa2bd730f..f321ad2dbc3ff5950c50a583a7440b3a8b9a1324 100644 (file)
@@ -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