mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
10980d4a54
commit
67f463b06d
2 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,7 @@ unsigned int mxc_get_clock(enum mxc_clock clk)
|
||||||
case MXC_ARM_CLK:
|
case MXC_ARM_CLK:
|
||||||
return mx31_get_mcu_main_clk();
|
return mx31_get_mcu_main_clk();
|
||||||
case MXC_IPG_CLK:
|
case MXC_IPG_CLK:
|
||||||
|
case MXC_IPG_PERCLK:
|
||||||
case MXC_CSPI_CLK:
|
case MXC_CSPI_CLK:
|
||||||
case MXC_UART_CLK:
|
case MXC_UART_CLK:
|
||||||
return mx31_get_ipg_clk();
|
return mx31_get_ipg_clk();
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
enum mxc_clock {
|
enum mxc_clock {
|
||||||
MXC_ARM_CLK,
|
MXC_ARM_CLK,
|
||||||
MXC_IPG_CLK,
|
MXC_IPG_CLK,
|
||||||
|
MXC_IPG_PERCLK,
|
||||||
MXC_CSPI_CLK,
|
MXC_CSPI_CLK,
|
||||||
MXC_UART_CLK,
|
MXC_UART_CLK,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue