]> git.ipfire.org Git - people/ms/u-boot.git/commit
kgdb: update mem2hex/hex2mem funcs
authorRobin Getz <robin.getz@analog.com>
Mon, 21 Dec 2009 23:40:44 +0000 (18:40 -0500)
committerWolfgang Denk <wd@denx.de>
Sun, 17 Jan 2010 23:24:21 +0000 (00:24 +0100)
commit16035bcd8c81c3c59dddfb54f48e8059a623b13c
tree3ce5c99500ed65ece855006abea4d4cb7b1c4175
parentcbb0cab1d929839d1cf170b54b1fef05896433ea
kgdb: update mem2hex/hex2mem funcs

Convert the funcs to do the conversion inline so that we can do the copy
all at once with memcpy.  This let's us push out an weird arch-specific
issue with accessing different regions of memory to the memcpy function
like the MMRs on Blackfin systems, and it should be a bit faster.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/kgdb.c