imx233: fix frequency reporting

The code reported the frequency in kHz instead of Hz, thus breaking a debug
screen.

Change-Id: Id46de970cfb55bcdc09b63f59b244ee3ad6264b8
This commit is contained in:
Amaury Pouly 2016-05-02 21:39:58 +01:00
parent 643c0a1e0e
commit a25700e4a0
2 changed files with 6 additions and 6 deletions

View file

@ -195,7 +195,7 @@ void system_init(void)
imx233_clkctrl_enable_auto_slow(false);
imx233_clkctrl_set_auto_slow_div(BV_CLKCTRL_HBUS_SLOW_DIV__BY8);
cpu_frequency = imx233_clkctrl_get_freq(CLK_CPU);
cpu_frequency = imx233_clkctrl_get_freq(CLK_CPU) * 1000; /* variable in Hz */
#if !defined(BOOTLOADER) && CONFIG_TUNER != 0
fmradio_i2c_init();