diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-16 19:18:56 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-17 00:29:24 +0200 |
commit | 918a06a12ad633a29634f3249990ba04ce9fb00b (patch) | |
tree | ecaa391890d391626a5cf849d08001391926b772 /firmware/target/arm/imx233/debug-imx233.c | |
parent | abb7d1dcfe204da217a67235811ebb278dc8fbe1 (diff) | |
download | rockbox-918a06a12ad633a29634f3249990ba04ce9fb00b.tar.gz rockbox-918a06a12ad633a29634f3249990ba04ce9fb00b.zip |
imx233: normalise pinctrl names
The current pinctrl functions were a mess. Normalise the functions
names to make them shorter and clearer.
Change-Id: Iac6ff84625ef2b7610268e3a5802dc0088de3167
Diffstat (limited to 'firmware/target/arm/imx233/debug-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/debug-imx233.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c index 10f951c2e1..ff3313a59e 100644 --- a/firmware/target/arm/imx233/debug-imx233.c +++ b/firmware/target/arm/imx233/debug-imx233.c | |||
@@ -527,7 +527,7 @@ bool dbg_hw_info_pinctrl(void) | |||
527 | 527 | ||
528 | lcd_clear_display(); | 528 | lcd_clear_display(); |
529 | for(int i = 0; i < 4; i++) | 529 | for(int i = 0; i < 4; i++) |
530 | lcd_putsf(0, i, "DIN%d = 0x%08x", i, imx233_get_gpio_input_mask(i, 0xffffffff)); | 530 | lcd_putsf(0, i, "DIN%d = 0x%08x", i, imx233_pinctrl_get_gpio_mask(i, 0xffffffff)); |
531 | #ifdef IMX233_PINCTRL_DEBUG | 531 | #ifdef IMX233_PINCTRL_DEBUG |
532 | unsigned cur_line = 6; | 532 | unsigned cur_line = 6; |
533 | unsigned last_line = lcd_getheight() / font_get(lcd_getfont())->height; | 533 | unsigned last_line = lcd_getheight() / font_get(lcd_getfont())->height; |
@@ -536,7 +536,7 @@ bool dbg_hw_info_pinctrl(void) | |||
536 | for(int bank = 0; bank < 4; bank++) | 536 | for(int bank = 0; bank < 4; bank++) |
537 | for(int pin = 0; pin < 32; pin++) | 537 | for(int pin = 0; pin < 32; pin++) |
538 | { | 538 | { |
539 | const char *owner = imx233_pinctrl_get_pin_use(bank, pin); | 539 | const char *owner = imx233_pinctrl_blame(bank, pin); |
540 | if(owner == NULL) | 540 | if(owner == NULL) |
541 | continue; | 541 | continue; |
542 | if(cur_idx++ >= top_user && cur_line < last_line) | 542 | if(cur_idx++ >= top_user && cur_line < last_line) |