]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/exports.h
Move ICS CLK chip frequency calculation code into a common board library
[karo-tx-uboot.git] / include / exports.h
index 0620e9eb896e65e588263fe933c99827d78f432e..1d79a3162c07cbbddb65a015dfccfbf57aae326e 100644 (file)
@@ -11,14 +11,14 @@ int  getc(void);
 int  tstc(void);
 void putc(const char);
 void puts(const char*);
-void printf(const char* fmt, ...);
+int printf(const char* fmt, ...);
 void install_hdlr(int, interrupt_handler_t*, void*);
 void free_hdlr(int);
 void *malloc(size_t);
 void free(void*);
-void udelay(unsigned long);
+void __udelay(unsigned long);
 unsigned long get_timer(unsigned long);
-void vprintf(const char *, va_list);
+int vprintf(const char *, va_list);
 void do_reset (void);
 unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base);
 char *getenv (char *name);
@@ -33,8 +33,9 @@ void forceenv (char *varname, char *varvalue);
 int i2c_write (uchar, uint, int , uchar* , int);
 int i2c_read (uchar, uint, int , uchar* , int);
 #endif
+#include <spi.h>
 
-void app_startup(char **);
+void app_startup(char * const *);
 
 #endif    /* ifndef __ASSEMBLY__ */
 
@@ -46,7 +47,7 @@ enum {
        XF_MAX
 };
 
-#define XF_VERSION     4
+#define XF_VERSION     6
 
 #if defined(CONFIG_I386)
 extern gd_t *global_data;