mx6slevk: Remove get_board_rev()
PATCH 1/1 mx6slevk: Remove get_board_rev()
From: Fabio Estevam <[email protected]>
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 <[email protected]>
--- board/freescale/mx6slevk/mx6slevk.c | 5 ----- 1 file changed, 5 deletions(-)
board/freescale/mx6slevk/mx6slevk.c +0 -5
@@ -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" );
Signature · 1 line
1.9.1
PATCH 1/1 mx6slevk: Remove get_board_rev()
Quoted 20 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
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 <[email protected]>--- board/freescale/mx6slevk/mx6slevk.c | 5 ----- 1 file changed, 5 deletions(-)board/freescale/mx6slevk/mx6slevk.c +0
-0@@ -308,11 +308,6 @@ int board_init(void)return 0 ;
board/freescale/mx6slevk/mx6slevk.c int board_init(void) · line 313
Quoted 10 lines
board/freescale/mx6slevk/mx6slevk.c +0
-5} -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
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================