summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2012-11-26 13:51:39 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2012-11-26 11:14:40 +0100
commitf23198905c4e943a019acc0a7210d4e586650425 (patch)
tree16ae9b4663ddd3b48d6a62560a475dde79c773c7 /include
parent6a20c24644261c65cb9ca93313b6f51bafc87973 (diff)
downloadbarebox-f23198905c4e943a019acc0a7210d4e586650425.tar.gz
barebox-f23198905c4e943a019acc0a7210d4e586650425.tar.xz
mem: add the swab (swap bytes) option to memory_display()
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index e30774a43e..6256879f83 100644
--- a/include/common.h
+++ b/include/common.h
@@ -226,7 +226,7 @@ int run_shell(void);
#define PAGE_SIZE 4096
#define PAGE_SHIFT 12
-int memory_display(char *addr, loff_t offs, ulong nbytes, int size);
+int memory_display(char *addr, loff_t offs, ulong nbytes, int size, int swab);
extern const char version_string[];
#ifdef CONFIG_BANNER