]> git.sur5r.net Git - u-boot/blobdiff - include/environment.h
Merging Stelian Pop AT91 patches
[u-boot] / include / environment.h
index c4f7c33be6b868c2daff5a44ea51dfb1ecad7c8e..bf9f669127f9727c8ae15a115ab9bdb496c2f4a2 100644 (file)
@@ -107,4 +107,14 @@ typedef    struct environment_s {
        unsigned char   data[ENV_SIZE]; /* Environment data             */
 } env_t;
 
+/* Pointer to function that returns a character from the environment */
+extern unsigned char (*env_get_char)(int);
+
+/* Function that returns a pointer to a value from the environment */
+unsigned char *env_get_addr(int);
+unsigned char env_get_char_memory (int index);
+
+/* Function that updates CRC of the enironment */
+void env_crc_update (void);
+
 #endif /* _ENVIRONMENT_H_ */