]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
MX31: fix missing mxc_get_clk() call
authorStefano Babic <sbabic@denx.de>
Tue, 30 Aug 2011 00:51:13 +0000 (00:51 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 7 Sep 2011 20:11:23 +0000 (22:11 +0200)
Add missing case to be used in common MXC code.

Signed-off-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm1136/mx31/generic.c
arch/arm/include/asm/arch-mx31/clock.h

index 248431b9bc58ecf60f6d3563ec3954ee9ca28bb5..e3a4d1b80818d6bd204dee25503976c118d68183 100644 (file)
@@ -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();
index b1326764606fe9e4e6be70e899c172103896377b..cc99a75e92a648be28ea49c6eded45d28fb4534c 100644 (file)
@@ -27,6 +27,7 @@
 enum mxc_clock {
        MXC_ARM_CLK,
        MXC_IPG_CLK,
+       MXC_IPG_PERCLK,
        MXC_CSPI_CLK,
        MXC_UART_CLK,
 };