summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-16 11:16:08 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-16 11:16:08 +0200
commitca8ae5695a417202f4e4d0f915fd7983e19b481e (patch)
tree4efb1dbf90e0459dc60b9d177ea10f87d8c31567 /include/common.h
parent1ef73a95bedb32f82017e8891ff917d47396021e (diff)
downloadbarebox-ca8ae5695a417202f4e4d0f915fd7983e19b481e.tar.gz
barebox-ca8ae5695a417202f4e4d0f915fd7983e19b481e.tar.xz
add the possibility to have a arch specific 'go' command. Some
architectures need this (e.g. blackfin and i386)
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index 981a3a5d12..f95c8f1b03 100644
--- a/include/common.h
+++ b/include/common.h
@@ -164,6 +164,8 @@ int parse_area_spec(const char *str, ulong *start, ulong *size);
/* Just like simple_strtoul(), but this one honors a K/M/G suffix */
unsigned long strtoul_suffix(const char *str, char **endp, int base);
-extern void start_uboot(void);
+void start_uboot(void);
+
+int arch_execute(unsigned long address, int argc, char *argv[]);
#endif /* __COMMON_H_ */