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

Thomas Heijligen uploaded patch set #17 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.
The macro generated implementation matches the prototypes in platform.h

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

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

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: 17
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: David Hendricks <>
Gerrit-Attention: Edward O'Callaghan <>
Gerrit-Attention: Angel Pons <>
Gerrit-MessageType: newpatchset