summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-09-10 22:27:55 -0500
committerAaron Durbin <adurbin@chromium.org>2015-09-11 05:20:03 +0000
commit113d821696c25f508e2b98c3ecd749e3c92ac118 (patch)
treef4d2f8cd9a77e982ef3372bd4674e97a4709478d /src
parent71a7ba2e5d84198e63464287c8543d23c5d75e48 (diff)
downloadcoreboot-113d821696c25f508e2b98c3ecd749e3c92ac118.tar.xz
endian: fix le64toh()
This change was sitting in my git index, and I failed to push it in the original patch. Change-Id: If6f49c3c2b7908f93a99c23a80536ad5937959c7 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11622 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/include/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/endian.h b/src/include/endian.h
index 297ffd7733..b9f1deef01 100644
--- a/src/include/endian.h
+++ b/src/include/endian.h
@@ -150,7 +150,7 @@ static inline uint64_t be64toh(uint64_t big_endian_64bits)
static inline uint64_t le64toh(uint64_t little_endian_64bits)
{
- return le16_to_cpu(little_endian_64bits);
+ return le64_to_cpu(little_endian_64bits);
}
#endif