summaryrefslogtreecommitdiffstats
path: root/common/ratp/md.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-01-28 22:55:43 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-06 08:31:13 +0100
commit504ac299a531a0bd601e6db05dc1c2d3b86a9700 (patch)
tree10679e0f9fe48ec39e2f706f48af684cc606ec7d /common/ratp/md.c
parentd60e9aa5f5a21374950dfd15bedafeccf76c3b1d (diff)
downloadbarebox-504ac299a531a0bd601e6db05dc1c2d3b86a9700.tar.gz
barebox-504ac299a531a0bd601e6db05dc1c2d3b86a9700.tar.xz
fs: Share code between mem_write()/mem_read()
Rename memcpy_sz() to mem_copy() and move all of the identical code from mem_write()/mem_read() there. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/ratp/md.c')
0 files changed, 0 insertions, 0 deletions