diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-07-13 13:10:08 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-23 13:23:29 (GMT) |
commit | 08dd988be54cb6c6da676aee334c2304e77d9728 (patch) | |
tree | e7f36b0bcb06ae6f256cb001cfa3da864903d9d6 /arch/powerpc/lib | |
parent | ba2c5a5c9d478c58277c4b0bb1187a6e82912410 (diff) | |
download | u-boot-fsl-qoriq-08dd988be54cb6c6da676aee334c2304e77d9728.tar.xz |
powerpc, 8xx: fix missing function declarations.
Add missing .h and add missing declarations in .h
Declare local functions as static. Make interrupt_init_cpu function
signatures consistent with how decrementer_count is declared.
Based on warnings reported by 'make C=2'
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[trini: drop cpu_init_f as 8xx/83xx are different from the rest, rework
interrupt_init_cpu/decrementer_count]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/powerpc/lib')
-rw-r--r-- | arch/powerpc/lib/bootm.c | 2 | ||||
-rw-r--r-- | arch/powerpc/lib/interrupts.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c index 42a6afb..0e20402 100644 --- a/arch/powerpc/lib/bootm.c +++ b/arch/powerpc/lib/bootm.c @@ -18,6 +18,8 @@ #include <environment.h> #include <asm/byteorder.h> #include <asm/mp.h> +#include <bootm.h> +#include <vxworks.h> #if defined(CONFIG_OF_LIBFDT) #include <libfdt.h> diff --git a/arch/powerpc/lib/interrupts.c b/arch/powerpc/lib/interrupts.c index ccba829..46fa18c 100644 --- a/arch/powerpc/lib/interrupts.c +++ b/arch/powerpc/lib/interrupts.c @@ -28,9 +28,6 @@ void __board_show_activity (ulong dummy) #define CONFIG_SYS_WATCHDOG_FREQ (CONFIG_SYS_HZ / 2) #endif -extern int interrupt_init_cpu (unsigned *); -extern void timer_interrupt_cpu (struct pt_regs *); - static unsigned decrementer_count; /* count value for 1e6/HZ microseconds */ static __inline__ unsigned long get_dec (void) |