diff options
| author | Stefano Babic <[email protected]> | 2012-02-22 00:24:36 +0000 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2012-05-15 08:31:30 +0200 |
| commit | d87c85ce4314cab49bf2664bb094df748a90cb29 (patch) | |
| tree | c593dd431d61f812e62f0a58b1d392c99f32eb5f /arch/arm/cpu | |
| parent | b774fe9d8a3047293867267ca60355cf14f8268d (diff) | |
MX5: Add definitions for SATA controller
Add base address and MXC_SATA_CLK to return
the clock used for the SATA controller.
Signed-off-by: Stefano Babic <[email protected]>
CC: Fabio Estevam <[email protected]>
CC: Dirk Behme <[email protected]>
Diffstat (limited to 'arch/arm/cpu')
| -rw-r--r-- | arch/arm/cpu/armv7/mx5/clock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx5/clock.c b/arch/arm/cpu/armv7/mx5/clock.c index e92f10623a9..8f8d01c26e0 100644 --- a/arch/arm/cpu/armv7/mx5/clock.c +++ b/arch/arm/cpu/armv7/mx5/clock.c @@ -380,6 +380,8 @@ unsigned int mxc_get_clock(enum mxc_clock clk) case MXC_FEC_CLK: return decode_pll(mxc_plls[PLL1_CLOCK], CONFIG_SYS_MX5_HCLK); + case MXC_SATA_CLK: + return get_ahb_clk(); default: break; } |
