]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx51evk: Remove unused get_board_rev function
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 26 Oct 2011 09:01:00 +0000 (09:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:19 +0000 (22:56 +0100)
No board information is passed for MX51EVK, so remove get_board_rev function.

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

index afb1c30c08ae577ed90244bba0092500bdbff224..37e6e4dbe8014d8c7893a0e2a3158db4164ae5e1 100644 (file)
@@ -38,8 +38,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static u32 system_rev;
-
 #ifdef CONFIG_FSL_ESDHC
 struct fsl_esdhc_cfg esdhc_cfg[2] = {
        {MMC_SDHC1_BASE_ADDR, 1},
@@ -47,11 +45,6 @@ struct fsl_esdhc_cfg esdhc_cfg[2] = {
 };
 #endif
 
-u32 get_board_rev(void)
-{
-       return system_rev;
-}
-
 int dram_init(void)
 {
        /* dram_init must store complete ramsize in gd->ram_size */
@@ -404,8 +397,6 @@ int board_early_init_f(void)
 
 int board_init(void)
 {
-       system_rev = get_cpu_rev();
-
        /* address of boot parameters */
        gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
 
index 85229d63aebf3f5add85945870ace1e0acd8a3ad..7c7544f5a83c57b7377d0c0b52d1e38d79418176 100644 (file)
@@ -42,7 +42,6 @@
  */
 
 #define CONFIG_CMDLINE_TAG                     /* enable passing of ATAGs */
-#define CONFIG_REVISION_TAG
 #define CONFIG_SETUP_MEMORY_TAGS
 #define CONFIG_INITRD_TAG