the following patch was just integrated into master: commit f66a026d70961832164ca4edd701d762384786b3 Author: Aaron Durbin adurbin@chromium.org Date: Thu Sep 17 11:24:08 2015 -0500
commonlib: add endian related accessor functions
This commit adds read/write functions for both big and little endian interpretations. Additionally there are variants that allow an offset to be provided into the source buffer.
BUG=None TEST=Wrote test harness for functions. Also booted ARM QEMU through end of payload.
Change-Id: If44c4d489f0dab86a73b73580c039e364c7e517d Signed-off-by: Aaron Durbin adurbin@chromium.org Reviewed-on: http://review.coreboot.org/11677 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc mr.nuke.me@gmail.com
See http://review.coreboot.org/11677 for details.
-gerrit