[U-Boot] [PATCH 2/6] mx53evk: Remove unused get_board_rev function

Jason Liu liu.h.jason at gmail.com
Mon Oct 31 04:20:30 CET 2011


2011/10/27 Fabio Estevam <fabio.estevam at freescale.com>:
> No board information is passed for MX53EVK, so remove get_board_rev function.
>
> Cc: Jason Liu <r64343 at freescale.com>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  board/freescale/mx53evk/mx53evk.c |    5 -----
>  include/configs/mx53evk.h         |    1 -
>  2 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c
> index eab9c5f..335661f 100644
> --- a/board/freescale/mx53evk/mx53evk.c
> +++ b/board/freescale/mx53evk/mx53evk.c
> @@ -39,11 +39,6 @@
>
>  DECLARE_GLOBAL_DATA_PTR;
>
> -u32 get_board_rev(void)
> -{
> -       return get_cpu_rev();
> -}
> -
>  int dram_init(void)
>  {
>        /* dram_init must store complete ramsize in gd->ram_size */
> diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
> index a5d403f..f9fc149 100644
> --- a/include/configs/mx53evk.h
> +++ b/include/configs/mx53evk.h
> @@ -34,7 +34,6 @@
>  #include <asm/arch/imx-regs.h>
>
>  #define CONFIG_CMDLINE_TAG                     /* enable passing of ATAGs */
> -#define CONFIG_REVISION_TAG
>  #define CONFIG_SETUP_MEMORY_TAGS
>  #define CONFIG_INITRD_TAG
>

Acked-by: Jason Liu <r64343 at freescale.com>

> --
> 1.7.1
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list