summaryrefslogtreecommitdiffstats
path: root/include/lattice.h
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@free-electrons.com>2012-01-13 13:27:38 +0000
committerAnatolij Gustschin <agust@denx.de>2012-03-27 10:09:52 +0200
commit6ee39f8055680654f9cc97b98dcce9588f1ab71e (patch)
tree52823cc1128d31ad5d8d8ad8d0c72b7f7d496185 /include/lattice.h
parent48995b5a96c99ba6243906ecab733e4269fbafe5 (diff)
downloadblackbird-obmc-uboot-6ee39f8055680654f9cc97b98dcce9588f1ab71e.tar.gz
blackbird-obmc-uboot-6ee39f8055680654f9cc97b98dcce9588f1ab71e.zip
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>
Diffstat (limited to 'include/lattice.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud