summaryrefslogtreecommitdiff
path: root/include/exports.h
diff options
context:
space:
mode:
authorMike Partington <mparting@lexmark.com>2010-10-27 10:31:09 +0000
committerWolfgang Denk <wd@denx.de>2011-12-06 20:52:35 +0100
commit0910d0bcb85acdf09b9dfd8ded452367b540a4ad (patch)
treecbd67d5cc3e23ee070d6551ad8c0e11f55c9fc56 /include/exports.h
parenta621614d0cda202408f6f500bbb46b92e599e98b (diff)
downloadu-boot-imx-0910d0bcb85acdf09b9dfd8ded452367b540a4ad.zip
u-boot-imx-0910d0bcb85acdf09b9dfd8ded452367b540a4ad.tar.gz
u-boot-imx-0910d0bcb85acdf09b9dfd8ded452367b540a4ad.tar.bz2
Standalone Apps: Standalone apps should need only exports.h.
Modify exports.h to remove its dependencies on other files, thus enabling standalone apps to require only exports.h from the U-Boot source tree. This appears to be the intent based on the following note: http://lists.denx.de/pipermail/u-boot/2010-January/067174.html Signed-off-by: Mike Partington <mparting@lexmark.com>
Diffstat (limited to 'include/exports.h')
-rw-r--r--include/exports.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/exports.h b/include/exports.h
index 9492566..63aa4b2 100644
--- a/include/exports.h
+++ b/include/exports.h
@@ -3,8 +3,6 @@
#ifndef __ASSEMBLY__
-#include <common.h>
-
/* These are declarations of exported functions available in C code */
unsigned long get_version(void);
int getc(void);
@@ -12,7 +10,7 @@ int tstc(void);
void putc(const char);
void puts(const char*);
int printf(const char* fmt, ...);
-void install_hdlr(int, interrupt_handler_t*, void*);
+void install_hdlr(int, void (*interrupt_handler_t)(void *), void*);
void free_hdlr(int);
void *malloc(size_t);
void free(void*);
@@ -30,7 +28,6 @@ int ustrtoul(const char *cp, char **endp, unsigned int base);
int i2c_write (uchar, uint, int , uchar* , int);
int i2c_read (uchar, uint, int , uchar* , int);
#endif
-#include <spi.h>
void app_startup(char * const *);