summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/pinctrl-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-16 21:15:09 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-17 00:29:25 +0200
commit52426d08918eadfba178f74e1bd5d1663f9c73e0 (patch)
tree3a9488a65d7d3f854f84615238ce174dfd956c6a /firmware/target/arm/imx233/pinctrl-imx233.c
parentf4fdf1ffe2189dafd1ebbbbf50f1a4626364ead3 (diff)
downloadrockbox-52426d08918eadfba178f74e1bd5d1663f9c73e0.tar.gz
rockbox-52426d08918eadfba178f74e1bd5d1663f9c73e0.tar.bz2
rockbox-52426d08918eadfba178f74e1bd5d1663f9c73e0.zip
imx233: fix pinctrl for stmp3600 and stmp3700
Change-Id: I87281b89315890fa285cb9a63fda5c90bdc8cdbf
Diffstat (limited to 'firmware/target/arm/imx233/pinctrl-imx233.c')
-rw-r--r--firmware/target/arm/imx233/pinctrl-imx233.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/firmware/target/arm/imx233/pinctrl-imx233.c b/firmware/target/arm/imx233/pinctrl-imx233.c
index ab59532543..96edf8db84 100644
--- a/firmware/target/arm/imx233/pinctrl-imx233.c
+++ b/firmware/target/arm/imx233/pinctrl-imx233.c
@@ -35,13 +35,6 @@ void imx233_pinctrl_acquire(unsigned bank, unsigned pin, const char *name)
pin_use[bank][pin] = name;
}
-void imx233_pinctrl_acquire_mask(unsigned bank, uint32_t mask, const char *name)
-{
- for(unsigned pin = 0; pin < 32; pin++)
- if(mask & (1 << pin))
- imx233_pinctrl_acquire(bank, pin, name);
-}
-
void imx233_pinctrl_release(unsigned bank, unsigned pin, const char *name)
{
if(pin_use[bank][pin] != NULL && pin_use[bank][pin] != name)
@@ -49,13 +42,6 @@ void imx233_pinctrl_release(unsigned bank, unsigned pin, const char *name)
pin_use[bank][pin] = NULL;
}
-void imx233_pinctrl_release_mask(unsigned bank, uint32_t mask, const char *name)
-{
- for(unsigned pin = 0; pin < 32; pin++)
- if(mask & (1 << pin))
- imx233_pinctrl_release(bank, pin, name);
-}
-
const char *imx233_pinctrl_blame(unsigned bank, unsigned pin)
{
return pin_use[bank][pin];