summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 22:57:42 +0300
committerTom Rini <trini@konsulko.com>2019-12-03 02:25:01 +0300
commit36bf446b642d5759981f5adf547b4a7aeb15eee3 (patch)
tree2da7ba0b25d84054b9327358b74ab8e4e72614d1 /arch/sh
parentc30b7adbcaa88511e7f6095e0683d83cc958bb30 (diff)
downloadu-boot-36bf446b642d5759981f5adf547b4a7aeb15eee3.tar.xz
common: Move enable/disable_interrupts out of common.h
Move these two functions into the irq_funcs.h header file. Also move interrupt_handler_t as this is used by the irq_install_handler() function. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/cpu/sh4/cpu.c1
-rw-r--r--arch/sh/lib/zimageboot.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/cpu/sh4/cpu.c b/arch/sh/cpu/sh4/cpu.c
index ee36aca407..f1b8df9b0b 100644
--- a/arch/sh/cpu/sh4/cpu.c
+++ b/arch/sh/cpu/sh4/cpu.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <command.h>
+#include <irq_func.h>
#include <cpu_func.h>
#include <netdev.h>
#include <asm/processor.h>
diff --git a/arch/sh/lib/zimageboot.c b/arch/sh/lib/zimageboot.c
index 93933b7931..602776a474 100644
--- a/arch/sh/lib/zimageboot.c
+++ b/arch/sh/lib/zimageboot.c
@@ -10,6 +10,7 @@
*/
#include <common.h>
+#include <irq_func.h>
#include <asm/io.h>
#include <asm/zimage.h>