depthcharge: Correct timer calculation.

lib_sysinfo.cpu_khz is probably different from timer clock, so when calculating
timeout we should always use timer_hz().

BRANCH=none
BUG=none
TEST=manual: USE=depthcharge emerge-link depthcharge

Change-Id: I056b8a4ac0484ffe6ad408926439152e3bb5a590
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://gerrit-int.chromium.org/33405
Tested-by: Hung-Te Lin <hungte@google.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Commit-Queue: Hung-Te Lin <hungte@google.com>
1 file changed
tree: c06363b6596511fde325dd33fe5a2024fe446861
  1. board/
  2. src/
  3. util/
  4. Kconfig
  5. Makefile
  6. Makefile.inc