summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/fsl-lsch3
diff options
context:
space:
mode:
authorHaikun Wang <Haikun.Wang@freescale.com>2015-06-26 19:56:11 +0800
committerYork Sun <yorksun@freescale.com>2015-07-20 11:44:39 -0700
commitb0e209dc636d76afa90e330c37d29cea6deeea33 (patch)
tree899e56b30b48d4dc4fe43953230ae1ada3acb7f2 /arch/arm/cpu/armv8/fsl-lsch3
parent193e7e5a8e93fa3076a80fa6c7b687401f08108b (diff)
armv8/ls2085a: Enable DSPI get input clk form 'mxc_get_clock'
Signed-off-by: Haikun Wang <haikun.wang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/arm/cpu/armv8/fsl-lsch3')
-rw-r--r--arch/arm/cpu/armv8/fsl-lsch3/speed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/fsl-lsch3/speed.c b/arch/arm/cpu/armv8/fsl-lsch3/speed.c
index cac4f925a4..d9f137cc2d 100644
--- a/arch/arm/cpu/armv8/fsl-lsch3/speed.c
+++ b/arch/arm/cpu/armv8/fsl-lsch3/speed.c
@@ -180,6 +180,8 @@ unsigned int mxc_get_clock(enum mxc_clock clk)
switch (clk) {
case MXC_I2C_CLK:
return get_bus_freq(0) / 2;
+ case MXC_DSPI_CLK:
+ return get_bus_freq(0) / 2;
default:
printf("Unsupported clock\n");
}