1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2025-04-21 12:27:27 +03:00

qi-add-hex-sprintf-type-functions.patch

We need to print hex into string buffers now, only in
phase 2

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green
2009-02-03 18:06:37 +00:00
committed by Andy Green
parent dd2344a9c7
commit 72ecb60392
2 changed files with 27 additions and 0 deletions

View File

@@ -126,6 +126,10 @@ void printdec(int n);
void hexdump(unsigned char *start, int len);
void udelay(int n);
/* phase2 only */
void setnybble(char *p, unsigned char n);
void set8(char *p, unsigned char n);
void set32(char *p, unsigned int u);
unsigned long crc32(unsigned long crc, const unsigned char *buf,
unsigned int len);