summaryrefslogtreecommitdiff
path: root/include/dataflash.h
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2011-11-07 01:14:02 +0000
committerStefano Babic <sbabic@denx.de>2011-11-22 08:39:26 +0100
commit0901d9f891a335826abb1b0d053d66a81b9a0996 (patch)
tree06b25237de0a33d23d69975bdc8b9e4b004f86e2 /include/dataflash.h
parent6b155666816ee314c214954701abea49e2fcf2cb (diff)
downloadu-boot-imx-0901d9f891a335826abb1b0d053d66a81b9a0996.zip
u-boot-imx-0901d9f891a335826abb1b0d053d66a81b9a0996.tar.gz
u-boot-imx-0901d9f891a335826abb1b0d053d66a81b9a0996.tar.bz2
env: clean env_dataflash.c checkpatch and code style
Cleanup the env_dataflash.c checkpatch warnings, errors and coding style. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'include/dataflash.h')
-rw-r--r--include/dataflash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dataflash.h b/include/dataflash.h
index 96ac097..056e18b 100644
--- a/include/dataflash.h
+++ b/include/dataflash.h
@@ -208,6 +208,8 @@ extern int dataflash_real_protect (int flag, unsigned long start_addr, unsigned
extern int addr_dataflash (unsigned long addr);
extern int read_dataflash (unsigned long addr, unsigned long size, char *result);
extern int write_dataflash (unsigned long addr, unsigned long dest, unsigned long size);
+extern int AT91F_DataflashInit(void);
+
extern void dataflash_print_info (void);
extern void dataflash_perror (int err);
extern void AT91F_DataflashSetEnv (void);