]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/exports.h
85xx: Add defines for BUCSR bits to make code more readable
[karo-tx-uboot.git] / include / exports.h
index 84bc56b7a058270b118033c2d0b98dec9c70babc..c3a5d2f32e76903927e723642401ac29668f0f4b 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __MON_SYS_CALL_H__
-#define __MON_SYS_CALL_H__
+#ifndef __EXPORTS_H__
+#define __EXPORTS_H__
 
 #ifndef __ASSEMBLY__
 
@@ -16,12 +16,24 @@ 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);
-#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+void 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);
+int setenv (char *varname, char *varvalue);
+long simple_strtol(const char *cp,char **endp,unsigned int base);
+int strcmp(const char * cs,const char * ct);
+int ustrtoul(const char *cp, char **endp, unsigned int base);
+#ifdef CONFIG_HAS_UID
+void forceenv (char *varname, char *varvalue);
+#endif
+#if defined(CONFIG_CMD_I2C)
 int i2c_write (uchar, uint, int , uchar* , int);
 int i2c_read (uchar, uint, int , uchar* , int);
-#endif /* CFG_CMD_I2C */
+#endif
+#include <spi.h>
 
 void app_startup(char **);
 
@@ -35,10 +47,10 @@ enum {
        XF_MAX
 };
 
-#define XF_VERSION     2
+#define XF_VERSION     6
 
 #if defined(CONFIG_I386)
 extern gd_t *global_data;
 #endif
 
-#endif
+#endif /* __EXPORTS_H__ */