mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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>
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
|
#include <init.h>
|
||||||
#include <watchdog.h>
|
#include <watchdog.h>
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
|
@@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <cpu_func.h>
|
#include <cpu_func.h>
|
||||||
|
#include <init.h>
|
||||||
#include <asm/mipsregs.h>
|
#include <asm/mipsregs.h>
|
||||||
#include <asm/addrspace.h>
|
#include <asm/addrspace.h>
|
||||||
#include <asm/system.h>
|
#include <asm/system.h>
|
||||||
|
@@ -145,7 +145,6 @@ void relocate_code(ulong);
|
|||||||
void relocate_code(ulong, gd_t *, ulong) __attribute__ ((noreturn));
|
void relocate_code(ulong, gd_t *, ulong) __attribute__ ((noreturn));
|
||||||
#endif
|
#endif
|
||||||
ulong get_endaddr (void);
|
ulong get_endaddr (void);
|
||||||
void trap_init (ulong);
|
|
||||||
|
|
||||||
void s_init(void);
|
void s_init(void);
|
||||||
|
|
||||||
|
@@ -208,6 +208,8 @@ int board_early_init_r(void);
|
|||||||
/* TODO(sjg@chromium.org): Drop this when DM_PCI migration is completed */
|
/* TODO(sjg@chromium.org): Drop this when DM_PCI migration is completed */
|
||||||
void pci_init_board(void);
|
void pci_init_board(void);
|
||||||
|
|
||||||
|
void trap_init(unsigned long reloc_addr);
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
/* Put only stuff here that the assembler can digest */
|
/* Put only stuff here that the assembler can digest */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user