Attention is currently required from: Nico Huber, Thomas Heijligen, David Hendricks, Edward O'Callaghan.

Thomas Heijligen uploaded patch set #19 to the change originally created by Nico Huber.

View Change

hwaccess: add endianness converting deserialization functions

Add functions like
`uint32_t read_le32(const void *const base, const size_t offset);`
Read a 32 bit unsigned from a base with an offset.
Having prototypes and a macro generated implementation makes it easier
to read, understand and spot errors in one of them.

Change-Id: Idde177acf8bc5f94cd046b6539dc31532c98e452
Signed-off-by: Thomas Heijligen <>
M Makefile
M platform.h
A platform/memaccess.c
4 files changed, 58 insertions(+), 1 deletion(-)

git pull ssh:// refs/changes/16/31016/19

To view, visit change 31016. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Idde177acf8bc5f94cd046b6539dc31532c98e452
Gerrit-Change-Number: 31016
Gerrit-PatchSet: 19
Gerrit-Owner: Nico Huber <>
Gerrit-Reviewer: Anastasia Klimchuk <>
Gerrit-Reviewer: Angel Pons <>
Gerrit-Reviewer: David Hendricks <>
Gerrit-Reviewer: Edward O'Callaghan <>
Gerrit-Reviewer: Nico Huber <>
Gerrit-Reviewer: Thomas Heijligen <>
Gerrit-Reviewer: build bot (Jenkins) <>
Gerrit-CC: Paul Menzel <>
Gerrit-Attention: Nico Huber <>
Gerrit-Attention: Thomas Heijligen <>
Gerrit-Attention: David Hendricks <>
Gerrit-Attention: Edward O'Callaghan <>
Gerrit-MessageType: newpatchset