aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:48 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:25:25 -0500
commitd67bdaa7999944001391fc238f00dfbaf7e9929a (patch)
treebcf9a9cd15efea52f169419bf1c1e59f9f7669c9 /arch
parent2cf431c228776d9899dfb980086b86d4dd3b2473 (diff)
downloadu-boot-d67bdaa7999944001391fc238f00dfbaf7e9929a.zip
u-boot-d67bdaa7999944001391fc238f00dfbaf7e9929a.tar.gz
u-boot-d67bdaa7999944001391fc238f00dfbaf7e9929a.tar.bz2
common: Move trap_init() out of common.h
Move this function into the init.h header file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/lib/traps.c1
-rw-r--r--arch/mips/lib/traps.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/lib/traps.c b/arch/m68k/lib/traps.c
index 5d80207..2ccd55a 100644
--- a/arch/m68k/lib/traps.c
+++ b/arch/m68k/lib/traps.c
@@ -8,6 +8,7 @@
*/
#include <common.h>
+#include <init.h>
#include <watchdog.h>
#include <command.h>
#include <asm/processor.h>
diff --git a/arch/mips/lib/traps.c b/arch/mips/lib/traps.c
index b4bcdf8..6fe8ebd 100644
--- a/arch/mips/lib/traps.c
+++ b/arch/mips/lib/traps.c
@@ -12,6 +12,7 @@
#include <common.h>
#include <cpu_func.h>
+#include <init.h>
#include <asm/mipsregs.h>
#include <asm/addrspace.h>
#include <asm/system.h>