summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-02-20 09:05:00 +0100
committerStefan Roese <sr@denx.de>2007-02-20 09:05:00 +0100
commitc95c4280d751ca078c2ff58228d2f2b44ccf0600 (patch)
tree875524fdc1fde3868e34c9b003245adc079f3d3c /include/common.h
parent99b0f0fd3fbf2572ae1a7723dd90cffc8e85130a (diff)
downloadu-boot-imx-c95c4280d751ca078c2ff58228d2f2b44ccf0600.zip
u-boot-imx-c95c4280d751ca078c2ff58228d2f2b44ccf0600.tar.gz
u-boot-imx-c95c4280d751ca078c2ff58228d2f2b44ccf0600.tar.bz2
[PATCH 3_9] Move buffer print code from md command to common function
Printing a buffer is a darn useful thing. Move the buffer print code into print_buffer() in lib_generic/ Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 982d6a8..5b2e71c 100644
--- a/include/common.h
+++ b/include/common.h
@@ -187,6 +187,8 @@ void hang (void) __attribute__ ((noreturn));
long int initdram (int);
int display_options (void);
void print_size (ulong, const char *);
+int print_buffer (ulong addr, void* data, uint width, uint count,
+ uint linelen);
/* common/main.c */
void main_loop (void);