summaryrefslogtreecommitdiffstats
path: root/board/nvidia/cardhu/cardhu.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-03-21 12:28:56 -0600
committerTom Warren <twarren@nvidia.com>2014-04-17 08:41:05 -0700
commitdfb42fc95df6b5908fb593db9132018233430fe9 (patch)
tree5015bb6c6c7e60401182b4306b6e83df1c014386 /board/nvidia/cardhu/cardhu.c
parenta45fa436854a4116c19dd8794c9b033a3cf117bc (diff)
downloadtalos-obmc-uboot-dfb42fc95df6b5908fb593db9132018233430fe9.tar.gz
talos-obmc-uboot-dfb42fc95df6b5908fb593db9132018233430fe9.zip
ARM: tegra: pinmux naming consistency fixes
Clean up the naming of pinmux-related objects: * Refer to drive groups rather than pad groups to match the Linux kernel. * Ensure all pinmux API types are prefixed with pmux_, values (defines) are prefixed with PMUX_, and functions prefixed with pinmux_. * Modify a few type names to make their content clearer. * Minimal changes to SoC-specific .h/.c files are made so the code still compiles. A separate per-SoC change will be made immediately following, in order to keep individual patch size down. 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 'board/nvidia/cardhu/cardhu.c')
-rw-r--r--board/nvidia/cardhu/cardhu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/nvidia/cardhu/cardhu.c b/board/nvidia/cardhu/cardhu.c
index 47e7abedf1..cc0e5e130f 100644
--- a/board/nvidia/cardhu/cardhu.c
+++ b/board/nvidia/cardhu/cardhu.c
@@ -20,14 +20,14 @@
*/
void pinmux_init(void)
{
- pinmux_config_table(tegra3_pinmux_common,
+ pinmux_config_pingrp_table(tegra3_pinmux_common,
ARRAY_SIZE(tegra3_pinmux_common));
- pinmux_config_table(unused_pins_lowpower,
+ pinmux_config_pingrp_table(unused_pins_lowpower,
ARRAY_SIZE(unused_pins_lowpower));
/* Initialize any non-default pad configs (APB_MISC_GP regs) */
- padgrp_config_table(cardhu_padctrl, ARRAY_SIZE(cardhu_padctrl));
+ pinmux_config_drvgrp_table(cardhu_padctrl, ARRAY_SIZE(cardhu_padctrl));
}
#if defined(CONFIG_TEGRA_MMC)
OpenPOWER on IntegriCloud