diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-03-07 14:46:03 -0700 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2014-03-14 12:46:26 -0600 |
commit | 23acce765aabeb62aeb36cc70807df75604eb5c6 (patch) | |
tree | fe2bed3608eb50b86f753bf04d96b344145f74f3 /arch/arm/cpu/tegra114-common/pinmux.c | |
parent | 1253c7894e41fe9403d49cb6e8987265119061c9 (diff) | |
download | u-boot-23acce765aabeb62aeb36cc70807df75604eb5c6.tar.gz |
ARM: tegra: pinctrl: remove func_safe
This field isn't used anywhere, so remove it. Note that PIN() macros are
left unchanged for now, to avoid many diffs to them; later commits will
completely rewrite them just one time.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
---
Sent V1
Diffstat (limited to 'arch/arm/cpu/tegra114-common/pinmux.c')
-rw-r--r-- | arch/arm/cpu/tegra114-common/pinmux.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/cpu/tegra114-common/pinmux.c b/arch/arm/cpu/tegra114-common/pinmux.c index 4983a05090..7bf494c49a 100644 --- a/arch/arm/cpu/tegra114-common/pinmux.c +++ b/arch/arm/cpu/tegra114-common/pinmux.c @@ -24,7 +24,6 @@ struct tegra_pingroup_desc { const char *name; enum pmux_func funcs[4]; - enum pmux_func func_safe; enum pmux_vddio vddio; enum pmux_pin_io io; }; @@ -62,7 +61,6 @@ struct tegra_pingroup_desc { PMUX_FUNC_ ## f2, \ PMUX_FUNC_ ## f3, \ }, \ - .func_safe = PMUX_FUNC_RSVD1, \ .io = PMUX_PIN_ ## iod, \ } @@ -396,10 +394,6 @@ void pinmux_set_func(enum pmux_pingrp pin, enum pmux_func func) assert(pmux_pingrp_isvalid(pin)); assert(pmux_func_isvalid(func)); - /* Handle special values */ - if (func == PMUX_FUNC_SAFE) - func = tegra_soc_pingroups[pin].func_safe; - if (func & PMUX_FUNC_RSVD1) { mux = func & 0x3; } else { |