From 01abae4d04868dede60947867699bf096a1831ff Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 6 Apr 2017 20:42:18 -0400 Subject: 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 --- board/davinci/da8xxevm/da850evm.c | 2 -- board/davinci/da8xxevm/omapl138_lcdk.c | 2 -- board/davinci/ea20/ea20.c | 2 -- 3 files changed, 6 deletions(-) (limited to 'board/davinci') diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c index 37d2f54..9e17eb8 100644 --- a/board/davinci/da8xxevm/da850evm.c +++ b/board/davinci/da8xxevm/da850evm.c @@ -323,9 +323,7 @@ int board_early_init_f(void) int board_init(void) { -#ifndef CONFIG_USE_IRQ irq_init(); -#endif #ifdef CONFIG_NAND_DAVINCI /* diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c index 3ce1992..d941285 100644 --- a/board/davinci/da8xxevm/omapl138_lcdk.c +++ b/board/davinci/da8xxevm/omapl138_lcdk.c @@ -171,9 +171,7 @@ int board_early_init_f(void) int board_init(void) { -#ifndef CONFIG_USE_IRQ irq_init(); -#endif /* arch number of the board */ gd->bd->bi_arch_number = MACH_TYPE_OMAPL138_LCDK; diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/ea20.c index 66804d7..6edfa17 100644 --- a/board/davinci/ea20/ea20.c +++ b/board/davinci/ea20/ea20.c @@ -203,9 +203,7 @@ int board_early_init_f(void) /* Set LCD_B_PWR low to power down LCD Backlight*/ gpio_direction_output(102, 0); -#ifndef CONFIG_USE_IRQ irq_init(); -#endif /* * NAND CS setup - cycle counts based on da850evm NAND timings in the -- cgit v1.1