]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx7dsabresd: Remove get_board_rev()
authorFabio Estevam <fabio.estevam@freescale.com>
Sun, 13 Sep 2015 16:06:45 +0000 (13:06 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 20 Sep 2015 07:47:59 +0000 (09:47 +0200)
get_board_rev() is not actually providing the board revision.

It just returns the CPU revision instead.

As the CPU revision is already printed on boot, there is no
reason to have get_board_rev(), so let's remove it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx7dsabresd/mx7dsabresd.c

index d7e4589cff0e7fb79c60d899b90b620079f14f92..bb823f5342b3d5301635e22ab235b41e3b97e1a3 100644 (file)
@@ -485,11 +485,6 @@ int board_late_init(void)
        return 0;
 }
 
-u32 get_board_rev(void)
-{
-       return get_cpu_rev();
-}
-
 int checkboard(void)
 {
        puts("Board: i.MX7D SABRESD\n");