]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
am33xx: Unused get_board_rev function removal
authorPaul Kocialkowski <contact@paulk.fr>
Thu, 16 Jul 2015 13:36:41 +0000 (15:36 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:02:10 +0000 (15:02 -0400)
All am33xx device tree are using device-tree, so get_board_rev is never actually
called. Thus, we can get rid of it to make the code easier to maintain.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/am33xx/sys_info.c

index 781d83fc72a400f416d7c23b8f3f32b4b924af3a..52a6824cf592187dbb74d66bd8c41c17798f61b2 100644 (file)
@@ -50,15 +50,6 @@ u32 get_cpu_type(void)
        return partnum;
 }
 
-/**
- * get_board_rev() - setup to pass kernel board revision information
- * returns: 0 for the ATAG REVISION tag value.
- */
-u32 __weak get_board_rev(void)
-{
-       return 0;
-}
-
 /**
  * get_device_type(): tell if GP/HS/EMU/TST
  */