[U-Boot] [PATCH 6/6] vision2: Remove unused get_board_rev function
Fabio Estevam
fabio.estevam at freescale.com
Thu Oct 27 13:29:45 CEST 2011
No board information is passed for VISION2, so remove get_board_rev function.
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
board/ttcontrol/vision2/vision2.c | 9 ---------
include/configs/vision2.h | 1 -
2 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c
index d3815b2..b40a970 100644
--- a/board/ttcontrol/vision2/vision2.c
+++ b/board/ttcontrol/vision2/vision2.c
@@ -44,8 +44,6 @@
DECLARE_GLOBAL_DATA_PTR;
-static u32 system_rev;
-
static struct fb_videomode nec_nl6448bc26_09c = {
"NEC_NL6448BC26-09C",
60, /* Refresh */
@@ -151,13 +149,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 5a4cd66..9081cce 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 BOARD_LATE_INIT
--
1.7.1
More information about the U-Boot
mailing list