summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/ph1-ld4/sg_init.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-09-11 20:17:44 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-09-25 00:27:52 +0900
commit1386233da33235a68d9f4321e505bfa97370d949 (patch)
tree8162bc59f562516c964dee241645b90ff8250f01 /arch/arm/mach-uniphier/ph1-ld4/sg_init.c
parent11f3afeaa5a03e624e630c6b2187efb998d49972 (diff)
downloadtalos-obmc-uboot-1386233da33235a68d9f4321e505bfa97370d949.tar.gz
talos-obmc-uboot-1386233da33235a68d9f4321e505bfa97370d949.zip
ARM: uniphier: drop ad-hoc input enable settings
These input enable settings are handled by the pinctrl drivers. Because the external bus pins are input-enabled by default, on-board devices such as LED still work fine even with this delayed input enabling. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/ph1-ld4/sg_init.c')
-rw-r--r--arch/arm/mach-uniphier/ph1-ld4/sg_init.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-uniphier/ph1-ld4/sg_init.c b/arch/arm/mach-uniphier/ph1-ld4/sg_init.c
deleted file mode 100644
index dab56e949c..0000000000
--- a/arch/arm/mach-uniphier/ph1-ld4/sg_init.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright (C) 2011-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#include <linux/io.h>
-#include <mach/sg-regs.h>
-
-void sg_init(void)
-{
- u32 tmp;
-
- /* Input ports must be enabled before deasserting reset of cores */
- tmp = readl(SG_IECTRL);
- tmp |= 0x1;
- writel(tmp, SG_IECTRL);
-}
OpenPOWER on IntegriCloud