diff options
Diffstat (limited to 'firmware/target/arm/imx233/pinctrl-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/pinctrl-imx233.c | 14 |
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) | |||
35 | pin_use[bank][pin] = name; | 35 | pin_use[bank][pin] = name; |
36 | } | 36 | } |
37 | 37 | ||
38 | void imx233_pinctrl_acquire_mask(unsigned bank, uint32_t mask, const char *name) | ||
39 | { | ||
40 | for(unsigned pin = 0; pin < 32; pin++) | ||
41 | if(mask & (1 << pin)) | ||
42 | imx233_pinctrl_acquire(bank, pin, name); | ||
43 | } | ||
44 | |||
45 | void imx233_pinctrl_release(unsigned bank, unsigned pin, const char *name) | 38 | void imx233_pinctrl_release(unsigned bank, unsigned pin, const char *name) |
46 | { | 39 | { |
47 | if(pin_use[bank][pin] != NULL && pin_use[bank][pin] != name) | 40 | 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) | |||
49 | pin_use[bank][pin] = NULL; | 42 | pin_use[bank][pin] = NULL; |
50 | } | 43 | } |
51 | 44 | ||
52 | void imx233_pinctrl_release_mask(unsigned bank, uint32_t mask, const char *name) | ||
53 | { | ||
54 | for(unsigned pin = 0; pin < 32; pin++) | ||
55 | if(mask & (1 << pin)) | ||
56 | imx233_pinctrl_release(bank, pin, name); | ||
57 | } | ||
58 | |||
59 | const char *imx233_pinctrl_blame(unsigned bank, unsigned pin) | 45 | const char *imx233_pinctrl_blame(unsigned bank, unsigned pin) |
60 | { | 46 | { |
61 | return pin_use[bank][pin]; | 47 | return pin_use[bank][pin]; |