diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2012-11-26 13:51:39 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-26 11:14:40 +0100 |
commit | f23198905c4e943a019acc0a7210d4e586650425 (patch) | |
tree | 16ae9b4663ddd3b48d6a62560a475dde79c773c7 /include | |
parent | 6a20c24644261c65cb9ca93313b6f51bafc87973 (diff) | |
download | barebox-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.h | 2 |
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 |