clock.c 333 B

12345678910111213141516171819202122
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright 2018 NXP
  4. */
  5. #include <common.h>
  6. #include <asm/global_data.h>
  7. #include <linux/errno.h>
  8. #include <asm/arch/clock.h>
  9. DECLARE_GLOBAL_DATA_PTR;
  10. u32 mxc_get_clock(enum mxc_clock clk)
  11. {
  12. switch (clk) {
  13. default:
  14. printf("Unsupported mxc_clock %d\n", clk);
  15. break;
  16. }
  17. return 0;
  18. }