clock.c 234 B

1234567891011121314
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (C) 2018, 2019 Marvell International Ltd.
  4. */
  5. #include <asm/global_data.h>
  6. #include <mach/clock.h>
  7. DECLARE_GLOBAL_DATA_PTR;
  8. ulong notrace get_tbclk(void)
  9. {
  10. return gd->cpu_clk;
  11. }