summaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-04-27 16:13:32 +1000
committerNico Huber <nico.h@gmx.de>2021-04-27 12:47:59 +0000
commit3f19ba95f1ea2fbd83f96fe9aa3ee78651e33899 (patch)
tree0e1b2becfd77010e998cca3c561a4c5d1adcb199 /layout.c
parent98534e717bc457ea41a3bdf6e1d677fb0c1f63ca (diff)
downloadflashrom-3f19ba95f1ea2fbd83f96fe9aa3ee78651e33899.tar.gz
flashrom-3f19ba95f1ea2fbd83f96fe9aa3ee78651e33899.tar.bz2
flashrom-3f19ba95f1ea2fbd83f96fe9aa3ee78651e33899.zip
hwaccess.h: Split hwaccess.h and extract hwaccess_x86_io.h out of it
The change makes it possible to mock functions from hwaccess_x86_io.h in tests by replacing this header with a different one when built for a test environment. The rest of hwaccess.h is fine and works for the test environment. BUG=b:181803212 TEST=make clean && make CONFIG_EVERYTHING=yes VERSION=none Build flashrom before and after this patch, flashrom binary is the same (diff flashrom_before flashrom_after shows no diffs) Change-Id: Idd04c7b36b24e9da339348a015df4f43a03744f7 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/52499 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'layout.c')
0 files changed, 0 insertions, 0 deletions