summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-05-14 12:22:49 +0200
committerWolfgang Denk <wd@denx.de>2008-05-14 12:22:49 +0200
commita8409f4f1ac84c36273c1a1e341189662521bcfb (patch)
tree2f3c4e36b8fdb134a1a67624262d863ceb949ef8 /include
parentcf39b07948015c480b72a6e732cf7d839aa93a9e (diff)
downloadu-boot-imx-a8409f4f1ac84c36273c1a1e341189662521bcfb.zip
u-boot-imx-a8409f4f1ac84c36273c1a1e341189662521bcfb.tar.gz
u-boot-imx-a8409f4f1ac84c36273c1a1e341189662521bcfb.tar.bz2
environment: cleanup prototype declarations of env functions.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/environment.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/environment.h b/include/environment.h
index c4f7c33..946a393 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -107,4 +107,14 @@ typedef struct environment_s {
unsigned char data[ENV_SIZE]; /* Environment data */
} env_t;
+/* Function that returns a character from the environment */
+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_ */