commit | 957ec69910073fe52d340c75e6e5074f8c5dbb3d | [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 | bc3177ac96d737ed3e483a4a6d8c9d82d3d16b65 [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>