summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/debug-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-05-19 13:16:17 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-05-19 16:10:51 +0200
commit553aeae9c63f789c969a954983e537244934903a (patch)
tree13a36bf8dc86d77b4ff5d7f6127b1df1c5c3e633 /firmware/target/arm/imx233/debug-imx233.c
parent9022c69b646b43d7bd5ee2948f6abb9f51459aea (diff)
downloadrockbox-553aeae9c63f789c969a954983e537244934903a.tar.gz
rockbox-553aeae9c63f789c969a954983e537244934903a.zip
imx233: fix clkctrl naming
Move to a more consistent naming convention like the other devices Change-Id: I4ddbbee27ee9f5ae775c5776592ec7ce02b30948
Diffstat (limited to 'firmware/target/arm/imx233/debug-imx233.c')
-rw-r--r--firmware/target/arm/imx233/debug-imx233.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c
index 59792c17a8..0702fcbebc 100644
--- a/firmware/target/arm/imx233/debug-imx233.c
+++ b/firmware/target/arm/imx233/debug-imx233.c
@@ -235,19 +235,19 @@ bool dbg_hw_info_clkctrl(void)
235 #define c dbg_clk[i] 235 #define c dbg_clk[i]
236 lcd_putsf(0, i + 1, "%4s", c.name); 236 lcd_putsf(0, i + 1, "%4s", c.name);
237 if(c.has_enable) 237 if(c.has_enable)
238 lcd_putsf(5, i + 1, "%2d", imx233_is_clock_enable(c.clk)); 238 lcd_putsf(5, i + 1, "%2d", imx233_clkctrl_is_clock_enabled(c.clk));
239 if(c.has_bypass) 239 if(c.has_bypass)
240 lcd_putsf(8, i + 1, "%2d", imx233_get_bypass_pll(c.clk)); 240 lcd_putsf(8, i + 1, "%2d", imx233_clkctrl_get_bypass_pll(c.clk));
241 if(c.has_idiv && imx233_get_clock_divisor(c.clk) != 0) 241 if(c.has_idiv && imx233_clkctrl_get_clock_divisor(c.clk) != 0)
242 lcd_putsf(10, i + 1, "%4d", imx233_get_clock_divisor(c.clk)); 242 lcd_putsf(10, i + 1, "%4d", imx233_clkctrl_get_clock_divisor(c.clk));
243 if(c.has_fdiv && imx233_get_fractional_divisor(c.clk) != 0) 243 if(c.has_fdiv && imx233_clkctrl_get_fractional_divisor(c.clk) != 0)
244 lcd_putsf(16, i + 1, "%4d", imx233_get_fractional_divisor(c.clk)); 244 lcd_putsf(16, i + 1, "%4d", imx233_clkctrl_get_fractional_divisor(c.clk));
245 if(c.has_freq) 245 if(c.has_freq)
246 lcd_putsf(21, i + 1, "%9d", imx233_get_clock_freq(c.clk)); 246 lcd_putsf(21, i + 1, "%9d", imx233_clkctrl_get_clock_freq(c.clk));
247 #undef c 247 #undef c
248 } 248 }
249 int line = ARRAYLEN(dbg_clk) + 1; 249 int line = ARRAYLEN(dbg_clk) + 1;
250 lcd_putsf(0, line, "auto slow: %d", imx233_is_auto_slow_enable()); 250 lcd_putsf(0, line, "auto slow: %d", imx233_clkctrl_is_auto_slow_enabled());
251 line++; 251 line++;
252 lcd_putsf(0, line, "as monitor: "); 252 lcd_putsf(0, line, "as monitor: ");
253 int x_off = 12; 253 int x_off = 12;
@@ -255,7 +255,7 @@ bool dbg_hw_info_clkctrl(void)
255 unsigned line_w = lcd_getwidth() / font_get_width(font_get(lcd_getfont()), ' '); 255 unsigned line_w = lcd_getwidth() / font_get_width(font_get(lcd_getfont()), ' ');
256 for(unsigned i = 0; i < ARRAYLEN(dbg_as_monitor); i++) 256 for(unsigned i = 0; i < ARRAYLEN(dbg_as_monitor); i++)
257 { 257 {
258 if(!imx233_is_auto_slow_monitor_enable(dbg_as_monitor[i].monitor)) 258 if(!imx233_clkctrl_is_auto_slow_monitor_enabled(dbg_as_monitor[i].monitor))
259 continue; 259 continue;
260 if(!first) 260 if(!first)
261 { 261 {