diff mbox

[U-Boot,5/6] mx53loco: Remove unused get_board_rev function

Message ID 1319714985-26088-5-git-send-email-fabio.estevam@freescale.com
State Accepted
Commit aa2bcf4be5b97f41ed1a10b5cfe68442cd588fb8
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Oct. 27, 2011, 11:29 a.m. UTC
No board information is passed for MX53LOCO, so remove get_board_rev function.

Cc: Jason Liu <r64343@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 board/freescale/mx53loco/mx53loco.c |    5 -----
 include/configs/mx53loco.h          |    1 -
 2 files changed, 0 insertions(+), 6 deletions(-)

Comments

Jason Liu Oct. 31, 2011, 3:20 a.m. UTC | #1
2011/10/27 Fabio Estevam <fabio.estevam@freescale.com>:
> No board information is passed for MX53LOCO, so remove get_board_rev function.
>
> Cc: Jason Liu <r64343@freescale.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  board/freescale/mx53loco/mx53loco.c |    5 -----
>  include/configs/mx53loco.h          |    1 -
>  2 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c
> index 156f8b5..b4c7f33 100644
> --- a/board/freescale/mx53loco/mx53loco.c
> +++ b/board/freescale/mx53loco/mx53loco.c
> @@ -38,11 +38,6 @@
>
>  DECLARE_GLOBAL_DATA_PTR;
>
> -u32 get_board_rev(void)
> -{
> -       return get_cpu_rev();
> -}
> -
>  int dram_init(void)
>  {
>        u32 size1, size2;
> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
> index f35bac1..d699010 100644
> --- a/include/configs/mx53loco.h
> +++ b/include/configs/mx53loco.h
> @@ -35,7 +35,6 @@
>  #include <asm/arch/imx-regs.h>
>
>  #define CONFIG_CMDLINE_TAG
> -#define CONFIG_REVISION_TAG
>  #define CONFIG_SETUP_MEMORY_TAGS
>  #define CONFIG_INITRD_TAG

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

BR,
Jason

>
> --
> 1.7.1
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
Stefano Babic Oct. 31, 2011, 11:03 a.m. UTC | #2
On 10/27/2011 01:29 PM, Fabio Estevam wrote:
> No board information is passed for MX53LOCO, so remove get_board_rev function.
> 
> Cc: Jason Liu <r64343@freescale.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  board/freescale/mx53loco/mx53loco.c |    5 -----
>  include/configs/mx53loco.h          |    1 -
>  2 files changed, 0 insertions(+), 6 deletions(-)
> 

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c
index 156f8b5..b4c7f33 100644
--- a/board/freescale/mx53loco/mx53loco.c
+++ b/board/freescale/mx53loco/mx53loco.c
@@ -38,11 +38,6 @@ 
 
 DECLARE_GLOBAL_DATA_PTR;
 
-u32 get_board_rev(void)
-{
-	return get_cpu_rev();
-}
-
 int dram_init(void)
 {
 	u32 size1, size2;
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index f35bac1..d699010 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -35,7 +35,6 @@ 
 #include <asm/arch/imx-regs.h>
 
 #define CONFIG_CMDLINE_TAG
-#define CONFIG_REVISION_TAG
 #define CONFIG_SETUP_MEMORY_TAGS
 #define CONFIG_INITRD_TAG