commit | 6ee39f8055680654f9cc97b98dcce9588f1ab71e | [log] [tgz] |
---|---|---|
author | David Wagner <david.wagner@free-electrons.com> | Fri Jan 13 13:27:38 2012 +0000 |
committer | Anatolij Gustschin <agust@denx.de> | Tue Mar 27 10:09:52 2012 +0200 |
tree | 52823cc1128d31ad5d8d8ad8d0c72b7f7d496185 | |
parent | 48995b5a96c99ba6243906ecab733e4269fbafe5 [diff] |
mkenvimage: Use mmap() when reading from a regular file Fall back to read() if it fails. Signed-off-by: David Wagner <david.wagner@free-electrons.com> Acked-by: Mike Frysinger <vapier@gentoo.org>