diff mbox

[U-Boot] mx6slevk: Remove get_board_rev()

Message ID 1419883544-27337-1-git-send-email-festevam@gmail.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Dec. 29, 2014, 8:05 p.m. UTC
From: Fabio Estevam <fabio.estevam@freescale.com>

get_board_rev() just returns the cpu revision, which does not make it really 
useful for distinguishing between revisions of the board.

Let's get rid of get_board_rev() as it is not being used with its correct 
meaning.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 board/freescale/mx6slevk/mx6slevk.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Stefano Babic Dec. 30, 2014, 1:37 p.m. UTC | #1
On 29/12/2014 21:05, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> get_board_rev() just returns the cpu revision, which does not make it really 
> useful for distinguishing between revisions of the board.
> 
> Let's get rid of get_board_rev() as it is not being used with its correct 
> meaning.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  board/freescale/mx6slevk/mx6slevk.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c
> index 3834eec..838ea6c 100644
> --- a/board/freescale/mx6slevk/mx6slevk.c
> +++ b/board/freescale/mx6slevk/mx6slevk.c
> @@ -308,11 +308,6 @@ int board_init(void)
>  	return 0;
>  }
>  
> -u32 get_board_rev(void)
> -{
> -	return get_cpu_rev();
> -}
> -
>  int checkboard(void)
>  {
>  	puts("Board: MX6SLEVK\n");
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c
index 3834eec..838ea6c 100644
--- a/board/freescale/mx6slevk/mx6slevk.c
+++ b/board/freescale/mx6slevk/mx6slevk.c
@@ -308,11 +308,6 @@  int board_init(void)
 	return 0;
 }
 
-u32 get_board_rev(void)
-{
-	return get_cpu_rev();
-}
-
 int checkboard(void)
 {
 	puts("Board: MX6SLEVK\n");