aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/common.h1
-rw-r--r--include/init.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index a292d91..e946e4d 100644
--- a/include/common.h
+++ b/include/common.h
@@ -145,7 +145,6 @@ void relocate_code(ulong);
void relocate_code(ulong, gd_t *, ulong) __attribute__ ((noreturn));
#endif
ulong get_endaddr (void);
-void trap_init (ulong);
void s_init(void);
diff --git a/include/init.h b/include/init.h
index 3b45e63..8b65b2a 100644
--- a/include/init.h
+++ b/include/init.h
@@ -208,6 +208,8 @@ int board_early_init_r(void);
/* TODO(sjg@chromium.org): Drop this when DM_PCI migration is completed */
void pci_init_board(void);
+void trap_init(unsigned long reloc_addr);
+
#endif /* __ASSEMBLY__ */
/* Put only stuff here that the assembler can digest */