diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-11-27 16:32:05 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-11-28 11:41:33 +0100 |
commit | 38884dabbe6a86feb5d9763cd160083f85b1848b (patch) | |
tree | 9c1e43114c0189e0e050fd0e78faa04803dcc7f0 /arch/nios2/lib | |
parent | 55ebf18c6603dd8d93c4a6a9d57ca390c9028c37 (diff) | |
download | barebox-38884dabbe6a86feb5d9763cd160083f85b1848b.tar.gz barebox-38884dabbe6a86feb5d9763cd160083f85b1848b.tar.xz |
remove irq support fragments
We never had interrupt support in barebox and we have no plans to
add interrupt support. Even if we do I doubt the current fragments
of irq support are helpful, so remove them.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2/lib')
-rw-r--r-- | arch/nios2/lib/board.c | 3 | ||||
-rw-r--r-- | arch/nios2/lib/bootm.c | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/nios2/lib/board.c b/arch/nios2/lib/board.c index 07f045b3aa..d50f05adee 100644 --- a/arch/nios2/lib/board.c +++ b/arch/nios2/lib/board.c @@ -40,8 +40,5 @@ core_initcall(altera_mem_malloc_init); void arch_shutdown(void) { -#ifdef CONFIG_USE_IRQ - disable_interrupts(); -#endif } diff --git a/arch/nios2/lib/bootm.c b/arch/nios2/lib/bootm.c index 34e2bd262a..c38243f9a3 100644 --- a/arch/nios2/lib/bootm.c +++ b/arch/nios2/lib/bootm.c @@ -43,10 +43,6 @@ static int do_bootm_linux(struct image_data *idata) kernel = (void (*)(int, int, int, const char *))ntohl(os_header->ih_ep); -#ifdef CONFIG_USE_IRQ - disable_interrupts(); -#endif - if (relocate_image(idata->os, (void *)ntohl(os_header->ih_load))) return -1; |