[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>
This commit is contained in:
Grant Likely
2007-02-20 09:05:00 +01:00
committed by Stefan Roese
parent 99b0f0fd3f
commit c95c4280d7
3 changed files with 86 additions and 51 deletions

View File

@@ -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);