]> git.sur5r.net Git - u-boot/blobdiff - include/common.h
[PATCH 3_9] Move buffer print code from md command to common function
[u-boot] / include / common.h
index 0be8372cc5e9053becd2c5127fc06d4ea7b15656..5b2e71c985f3b5957559ec11207f132a3254036a 100644 (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);
@@ -270,7 +272,7 @@ int misc_init_r   (void);
 void   jumptable_init(void);
 
 /* common/memsize.c */
-int    get_ram_size  (volatile long *, long);
+long   get_ram_size  (volatile long *, long);
 
 /* $(BOARD)/$(BOARD).c */
 void   reset_phy     (void);