diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-03-21 12:28:49 -0600 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2014-04-17 08:41:04 -0700 |
commit | 0d2c0d578833765babb7f6aa063de5bf09f461a2 (patch) | |
tree | 58c9ed9bc1210365a410af87c14408dfb06d3447 /arch/arm/cpu/tegra124-common | |
parent | 1b82491ee6ee1e986e5521b33692a00e1f38fe75 (diff) | |
download | u-boot-imx-0d2c0d578833765babb7f6aa063de5bf09f461a2.zip u-boot-imx-0d2c0d578833765babb7f6aa063de5bf09f461a2.tar.gz u-boot-imx-0d2c0d578833765babb7f6aa063de5bf09f461a2.tar.bz2 |
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>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/cpu/tegra124-common')
-rw-r--r-- | arch/arm/cpu/tegra124-common/pinmux.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/cpu/tegra124-common/pinmux.c b/arch/arm/cpu/tegra124-common/pinmux.c index a4ab4ea..b1ac59e 100644 --- a/arch/arm/cpu/tegra124-common/pinmux.c +++ b/arch/arm/cpu/tegra124-common/pinmux.c @@ -15,7 +15,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; }; @@ -53,7 +52,6 @@ struct tegra_pingroup_desc { PMUX_FUNC_ ## f2, \ PMUX_FUNC_ ## f3, \ }, \ - .func_safe = PMUX_FUNC_RSVD1, \ .io = PMUX_PIN_ ## iod, \ } @@ -387,10 +385,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 { |