summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-07-14 14:41:28 +0200
committerMichal Simek <michal.simek@xilinx.com>2016-07-22 14:04:41 +0200
commit23ffd36a5295354af2dee22c00b08addd9c8a2ed (patch)
tree2c752f617e90a143948a48cec371baaf3db5b373 /arch/arm/cpu
parent59da82ef824ec8ef94c362bef79954f02f3345e1 (diff)
downloadu-boot-imx-23ffd36a5295354af2dee22c00b08addd9c8a2ed.zip
u-boot-imx-23ffd36a5295354af2dee22c00b08addd9c8a2ed.tar.gz
u-boot-imx-23ffd36a5295354af2dee22c00b08addd9c8a2ed.tar.bz2
ARM64: zynqmp: Remove get_uart_clk()
ZynqMP will use reading clock freq directly from DT. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv8/zynqmp/clk.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/cpu/armv8/zynqmp/clk.c b/arch/arm/cpu/armv8/zynqmp/clk.c
index 690c72d..f7e5ebf 100644
--- a/arch/arm/cpu/armv8/zynqmp/clk.c
+++ b/arch/arm/cpu/armv8/zynqmp/clk.c
@@ -12,22 +12,6 @@
DECLARE_GLOBAL_DATA_PTR;
-unsigned long get_uart_clk(int dev_id)
-{
- u32 ver = zynqmp_get_silicon_version();
-
- switch (ver) {
- case ZYNQMP_CSU_VERSION_VELOCE:
- return 48000;
- case ZYNQMP_CSU_VERSION_EP108:
- return 25000000;
- case ZYNQMP_CSU_VERSION_QEMU:
- return 133000000;
- }
-
- return 100000000;
-}
-
unsigned long zynqmp_get_system_timer_freq(void)
{
u32 ver = zynqmp_get_silicon_version();