summaryrefslogtreecommitdiffstats
path: root/stand/powerpc/ofw
diff options
context:
space:
mode:
Diffstat (limited to 'stand/powerpc/ofw')
-rw-r--r--stand/powerpc/ofw/Makefile2
-rw-r--r--stand/powerpc/ofw/start.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/stand/powerpc/ofw/Makefile b/stand/powerpc/ofw/Makefile
index b28665d..e24b7af 100644
--- a/stand/powerpc/ofw/Makefile
+++ b/stand/powerpc/ofw/Makefile
@@ -27,7 +27,7 @@ SRCS+= ucmpdi2.c
SRCS+= ofwfdt.c
.endif
-HELP_FILES+= ${FDTSRC}/help.fdt
+HELP_FILES= ${FDTSRC}/help.fdt
# Always add MI sources
.include "${BOOTSRC}/loader.mk"
diff --git a/stand/powerpc/ofw/start.c b/stand/powerpc/ofw/start.c
index 911a2ec..5e0744b 100644
--- a/stand/powerpc/ofw/start.c
+++ b/stand/powerpc/ofw/start.c
@@ -67,6 +67,8 @@ _start: \n\
2: b startup \n\
");
+void main(int (*openfirm)(void *));
+
void
startup(void *vpd, int res, int (*openfirm)(void *), char *arg, int argl)
{
OpenPOWER on IntegriCloud