diff options
author | Simon Glass <sjg@chromium.org> | 2018-12-10 10:37:40 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-12-13 16:36:30 -0700 |
commit | cf9007ce88f412494d3b5438148d580c83f96685 (patch) | |
tree | b1b146e3c0b5f1164c1bf33843f03a17c56b8a07 /arch/arm/mach-exynos/pinmux.c | |
parent | d6cadd591879ba9d2d8a4375bb65f5032b5fb987 (diff) |
exynos: Add proid_is_exynos542x() for common 542x
Add a convenience function for any Exynos 542x chip.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-exynos/pinmux.c')
-rw-r--r-- | arch/arm/mach-exynos/pinmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/pinmux.c b/arch/arm/mach-exynos/pinmux.c index f6743ca0f6..5072f4f569 100644 --- a/arch/arm/mach-exynos/pinmux.c +++ b/arch/arm/mach-exynos/pinmux.c @@ -863,7 +863,7 @@ static int exynos4x12_pinmux_config(int peripheral, int flags) int exynos_pinmux_config(int peripheral, int flags) { if (cpu_is_exynos5()) { - if (proid_is_exynos5420() || proid_is_exynos5422()) + if (proid_is_exynos542x()) return exynos5420_pinmux_config(peripheral, flags); else if (proid_is_exynos5250()) return exynos5_pinmux_config(peripheral, flags); |