summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-04-06 20:42:18 -0400
committerTom Rini <trini@konsulko.com>2017-04-06 20:42:18 -0400
commit01abae4d04868dede60947867699bf096a1831ff (patch)
tree36cf207784fb6d9b61b533bf6df7d1281a34745e /arch/arm/mach-davinci
parentd53ecad92f06d2e38a5cbc13af7473867c7fa277 (diff)
downloadu-boot-01abae4d04868dede60947867699bf096a1831ff.tar.gz
u-boot-01abae4d04868dede60947867699bf096a1831ff.tar.xz
u-boot-01abae4d04868dede60947867699bf096a1831ff.zip
Remove various unused interrupt related code
With d53ecad92f06 some unused interrupt related code was removed. However all of these options are currently unused. Rather than migrate some of these options to Kconfig we just remove the code in question. The only related code changes here are that in some cases we use CONFIG_STACKSIZE in non-IRQ related context. In these cases we rename and move the value local to the code in question. Fixes: d53ecad92f06 ("Merge branch 'master' of git://git.denx.de/u-boot-sunxi") Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r--arch/arm/mach-davinci/misc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/misc.c b/arch/arm/mach-davinci/misc.c
index e1064e0a2f..ec331ba6bb 100644
--- a/arch/arm/mach-davinci/misc.c
+++ b/arch/arm/mach-davinci/misc.c
@@ -107,7 +107,6 @@ void davinci_sync_env_enetaddr(uint8_t *rom_enetaddr)
#endif /* CONFIG_DRIVER_TI_EMAC */
#if defined(CONFIG_SOC_DA8XX)
-#ifndef CONFIG_USE_IRQ
void irq_init(void)
{
/*
@@ -122,7 +121,6 @@ void irq_init(void)
writel(0xffffffff, &davinci_aintc_regs->ecr2);
writel(0xffffffff, &davinci_aintc_regs->ecr3);
}
-#endif
/*
* Enable PSC for various peripherals.