From 1386233da33235a68d9f4321e505bfa97370d949 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 11 Sep 2015 20:17:44 +0900 Subject: 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 --- arch/arm/mach-uniphier/ph1-ld4/sg_init.c | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 arch/arm/mach-uniphier/ph1-ld4/sg_init.c (limited to 'arch/arm/mach-uniphier/ph1-ld4/sg_init.c') 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 - * - * SPDX-License-Identifier: GPL-2.0+ - */ - -#include -#include - -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); -} -- cgit