timer.c 285 B

123456789101112131415161718
  1. /*
  2. * Marvell PXA2xx/3xx timer driver
  3. *
  4. * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. */
  8. #include <common.h>
  9. #include <asm/io.h>
  10. DECLARE_GLOBAL_DATA_PTR;
  11. int timer_init(void)
  12. {
  13. writel(0, CONFIG_SYS_TIMER_COUNTER);
  14. return 0;
  15. }