timer-gic.c 410 B

123456789101112131415161718192021222324
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. *
  4. * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
  5. * Copyright (C) 2015 John Crispin <john@phrozen.org>
  6. */
  7. #include <linux/init.h>
  8. #include <linux/of.h>
  9. #include <linux/of_clk.h>
  10. #include <linux/clocksource.h>
  11. #include <asm/time.h>
  12. #include "common.h"
  13. void __init plat_time_init(void)
  14. {
  15. ralink_of_remap();
  16. of_clk_init(NULL);
  17. timer_probe();
  18. }