Peng Fan | e4cf8d7 | 2018-10-18 14:28:26 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright 2018 NXP |
| 4 | */ |
| 5 | |
Tom Rini | abb9a04 | 2024-05-18 20:20:43 -0600 | [diff] [blame^] | 6 | #include <common.h> |
Simon Glass | 3ba929a | 2020-10-30 21:38:53 -0600 | [diff] [blame] | 7 | #include <asm/global_data.h> |
Peng Fan | e4cf8d7 | 2018-10-18 14:28:26 +0200 | [diff] [blame] | 8 | #include <linux/errno.h> |
| 9 | #include <asm/arch/clock.h> |
| 10 | |
| 11 | DECLARE_GLOBAL_DATA_PTR; |
| 12 | |
| 13 | u32 mxc_get_clock(enum mxc_clock clk) |
| 14 | { |
| 15 | switch (clk) { |
| 16 | default: |
| 17 | printf("Unsupported mxc_clock %d\n", clk); |
| 18 | break; |
| 19 | } |
| 20 | |
| 21 | return 0; |
| 22 | } |