From: Lothar Waßmann Date: Tue, 23 Jun 2015 10:58:07 +0000 (+0200) Subject: common/board_f.c: add default implementation of get_timer_masked() X-Git-Tag: KARO-TXA5-2015-06-26~1 X-Git-Url: https://git.karo-electronics.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=141664f6a5997a865c7b663843282749bc38d836 common/board_f.c: add default implementation of get_timer_masked() --- diff --git a/common/board_f.c b/common/board_f.c index 2a1022252c..8e8e2177a1 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -280,6 +280,11 @@ __weak int arch_cpu_init(void) return 0; } +__weak unsigned long get_timer_masked(void) +{ + return get_timer(0); +} + #ifdef CONFIG_OF_HOSTFILE static int read_fdt_from_file(void)