]> git.ipfire.org Git - people/ms/u-boot.git/commit - net/tftp.c
net: Access mapped physmem in net functions
authorJoe Hershberger <joe.hershberger@ni.com>
Sun, 22 Mar 2015 22:09:08 +0000 (17:09 -0500)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:11 +0000 (11:11 -0600)
commit55d5fd9a84ced5c5feb5eda0db1523fa3c2fc742
tree3111a6255f6b933140d445125e5d3b46107982fe
parent5c421331d5a8eac754c4509a4c710ef334b823c5
net: Access mapped physmem in net functions

Previously the net functions would access memory assuming physmem did
not need to be mapped.  In sandbox, that's not the case.

Now we map the physmem specified by the user in loadaddr to the buffer
that represents that space.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
net/nfs.c
net/tftp.c