summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/bootm.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2017-07-13 15:10:08 +0200
committerTom Rini <trini@konsulko.com>2017-07-23 09:23:29 -0400
commit08dd988be54cb6c6da676aee334c2304e77d9728 (patch)
treee7f36b0bcb06ae6f256cb001cfa3da864903d9d6 /arch/powerpc/lib/bootm.c
parentba2c5a5c9d478c58277c4b0bb1187a6e82912410 (diff)
downloadu-boot-08dd988be54cb6c6da676aee334c2304e77d9728.tar.gz
u-boot-08dd988be54cb6c6da676aee334c2304e77d9728.tar.bz2
u-boot-08dd988be54cb6c6da676aee334c2304e77d9728.zip
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/bootm.c')
-rw-r--r--arch/powerpc/lib/bootm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c
index 42a6afbc31..0e204027af 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>