diff options
author | Stefano Babic <sbabic@denx.de> | 2011-08-30 00:51:13 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-09-07 22:11:23 +0200 |
commit | 67f463b06d00701b955ea4ac176fc96a8ecd416f (patch) | |
tree | 7433f1d79bccc77b39cb6f47ac5cd2d4a7098a87 /arch | |
parent | 10980d4a54271c0bb98ae209bb1840c5259ba566 (diff) | |
download | u-boot-imx-67f463b06d00701b955ea4ac176fc96a8ecd416f.zip u-boot-imx-67f463b06d00701b955ea4ac176fc96a8ecd416f.tar.gz u-boot-imx-67f463b06d00701b955ea4ac176fc96a8ecd416f.tar.bz2 |
MX31: fix missing mxc_get_clk() call
Add missing case to be used in common MXC code.
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/arm1136/mx31/generic.c | 1 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-mx31/clock.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c index 248431b..e3a4d1b 100644 --- a/arch/arm/cpu/arm1136/mx31/generic.c +++ b/arch/arm/cpu/arm1136/mx31/generic.c @@ -85,6 +85,7 @@ unsigned int mxc_get_clock(enum mxc_clock clk) case MXC_ARM_CLK: return mx31_get_mcu_main_clk(); case MXC_IPG_CLK: + case MXC_IPG_PERCLK: case MXC_CSPI_CLK: case MXC_UART_CLK: return mx31_get_ipg_clk(); diff --git a/arch/arm/include/asm/arch-mx31/clock.h b/arch/arm/include/asm/arch-mx31/clock.h index b132676..cc99a75 100644 --- a/arch/arm/include/asm/arch-mx31/clock.h +++ b/arch/arm/include/asm/arch-mx31/clock.h @@ -27,6 +27,7 @@ enum mxc_clock { MXC_ARM_CLK, MXC_IPG_CLK, + MXC_IPG_PERCLK, MXC_CSPI_CLK, MXC_UART_CLK, }; |