diff options
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | 2015-06-01 18:37:19 +0530 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-06-08 08:41:55 +0200 |
commit | 098d85840ebd72c87a547a87df2654a3ff7da725 (patch) | |
tree | bfb4210a7aba413287185f4c3cb9baed32f6260d /arch/arm/cpu/armv7/vf610/generic.c | |
parent | 30748d81d0b33f04c86b5b96aab2e8bf8d330ea2 (diff) | |
download | u-boot-098d85840ebd72c87a547a87df2654a3ff7da725.tar.gz |
arm: vf610: Add clock support for DSPI
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Diffstat (limited to 'arch/arm/cpu/armv7/vf610/generic.c')
-rw-r--r-- | arch/arm/cpu/armv7/vf610/generic.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/vf610/generic.c b/arch/arm/cpu/armv7/vf610/generic.c index 1bb9b8ed1d..05c401dc73 100644 --- a/arch/arm/cpu/armv7/vf610/generic.c +++ b/arch/arm/cpu/armv7/vf610/generic.c @@ -198,6 +198,11 @@ static u32 get_i2c_clk(void) return get_ipg_clk(); } +static u32 get_dspi_clk(void) +{ + return get_ipg_clk(); +} + unsigned int mxc_get_clock(enum mxc_clock clk) { switch (clk) { @@ -215,6 +220,8 @@ unsigned int mxc_get_clock(enum mxc_clock clk) return get_fec_clk(); case MXC_I2C_CLK: return get_i2c_clk(); + case MXC_DSPI_CLK: + return get_dspi_clk(); default: break; } |