commit | f283e4f4aeede1ac49104c2c37cd840e915f5a2a | [log] [tgz] |
---|---|---|
author | Darwin Rambo <drambo@broadcom.com> | Thu Dec 19 15:06:12 2013 -0800 |
committer | Tom Rini <trini@ti.com> | Fri Jan 24 16:59:06 2014 -0500 |
tree | ac7f3183bfb5b90a9ac2bd5695ff2eacc45af466 | |
parent | 22e3c421920bfac3e9840ca3c9b462363fc9ebce [diff] |
lib: time: add weak timer_init() function If timer_init() is made a weak stub function, then it allows us to remove several empty timer_init functions for those boards that already have a timer initialized when u-boot starts. Architectures that use the timer framework may also remove the need for timer.c. Signed-off-by: Darwin Rambo <drambo@broadcom.com> Reviewed-by: Tim Kryger <tim.kryger@linaro.org>