timer-gic.c 545 B

12345678910111213141516171819202122232425
  1. /*
  2. * This program is free software; you can redistribute it and/or modify it
  3. * under the terms of the GNU General Public License version 2 as published
  4. * by the Free Software Foundation.
  5. *
  6. * Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
  7. * Copyright (C) 2015 John Crispin <john@phrozen.org>
  8. */
  9. #include <linux/init.h>
  10. #include <linux/of.h>
  11. #include <linux/clk-provider.h>
  12. #include <linux/clocksource.h>
  13. #include "common.h"
  14. void __init plat_time_init(void)
  15. {
  16. ralink_of_remap();
  17. of_clk_init(NULL);
  18. clocksource_probe();
  19. }