From: Paul Kocialkowski Date: Thu, 16 Jul 2015 13:36:41 +0000 (+0200) Subject: am33xx: Unused get_board_rev function removal X-Git-Tag: v2015.10-rc1~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bafa6f591bfa1ff75d7468f941c77038d5d9729a;p=u-boot am33xx: Unused get_board_rev function removal 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 Reviewed-by: Tom Rini --- diff --git a/arch/arm/cpu/armv7/am33xx/sys_info.c b/arch/arm/cpu/armv7/am33xx/sys_info.c index 781d83fc72..52a6824cf5 100644 --- a/arch/arm/cpu/armv7/am33xx/sys_info.c +++ b/arch/arm/cpu/armv7/am33xx/sys_info.c @@ -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 */