summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorJassi Brar <jaswinder.singh@linaro.org>2012-08-07 14:59:52 +0530
committerTom Rini <trini@ti.com>2014-01-24 09:38:39 -0500
commite81f63f0d2acb130df68da52e711f9178592a012 (patch)
tree89ca7dd3855300619395ad1acd33fa6519ecd62f /arch/arm/cpu
parent02c41535b6a4744e28e89938584d8db230ac014f (diff)
downloadu-boot-imx-e81f63f0d2acb130df68da52e711f9178592a012.zip
u-boot-imx-e81f63f0d2acb130df68da52e711f9178592a012.tar.gz
u-boot-imx-e81f63f0d2acb130df68da52e711f9178592a012.tar.bz2
ARM: OMAP4/5: Remove dead code against CONFIG_SYS_ENABLE_PADS_ALL
The commit f3f98bb0 : "ARM: OMAP4/5: Do not configure non essential pads, clocks, dplls" removed the config option aimed towards moving that stuff into kernel, which renders some code unreachable. Remove that code. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/omap-common/hwinit-common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/hwinit-common.c b/arch/arm/cpu/armv7/omap-common/hwinit-common.c
index 85d3754..bf29510 100644
--- a/arch/arm/cpu/armv7/omap-common/hwinit-common.c
+++ b/arch/arm/cpu/armv7/omap-common/hwinit-common.c
@@ -43,16 +43,10 @@ static void set_mux_conf_regs(void)
set_muxconf_regs_essential();
break;
case OMAP_INIT_CONTEXT_UBOOT_AFTER_SPL:
-#ifdef CONFIG_SYS_ENABLE_PADS_ALL
- set_muxconf_regs_non_essential();
-#endif
break;
case OMAP_INIT_CONTEXT_UBOOT_FROM_NOR:
case OMAP_INIT_CONTEXT_UBOOT_AFTER_CH:
set_muxconf_regs_essential();
-#ifdef CONFIG_SYS_ENABLE_PADS_ALL
- set_muxconf_regs_non_essential();
-#endif
break;
}
}