timer.c 588 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
  3. * Use of this source code is governed by a BSD-style license that can be
  4. * found in the LICENSE file.
  5. *
  6. * Alternatively, this software may be distributed under the terms of the
  7. * GNU General Public License ("GPL") version 2 as published by the Free
  8. * Software Foundation.
  9. */
  10. #include <common.h>
  11. /* Temporary patch to maintain bisectability, removed in next commit */
  12. #ifndef CONFIG_SYS_X86_TSC_TIMER
  13. unsigned long timer_get_us(void)
  14. {
  15. printf("timer_get_us used but not implemented.\n");
  16. return 0;
  17. }
  18. #endif