mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
hwaccess: move mmio functions into hwaccess_physmap
The mmio_le/be_read/writex functions are used for raw memory access. Bundle them with the physmap functions. Change-Id: I313062b078e89630c703038866ac93c651f0f49a Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/61160 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
9aaa66cc7f
commit
64b9e3f59e
2
Makefile
2
Makefile
@ -833,7 +833,7 @@ endif
|
||||
ifneq ($(NEED_RAW_ACCESS), )
|
||||
# Raw memory, MSR or PCI port I/O access.
|
||||
FEATURE_CFLAGS += -D'NEED_RAW_ACCESS=1'
|
||||
PROGRAMMER_OBJS += hwaccess.o hwaccess_physmap.o
|
||||
PROGRAMMER_OBJS += hwaccess_physmap.o
|
||||
|
||||
ifeq ($(ARCH), x86)
|
||||
FEATURE_CFLAGS += -D'__FLASHROM_HAVE_OUTB__=1'
|
||||
|
Reference in New Issue
Block a user