mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
Make read_ich_descriptors_from_dump() available in flashrom
I didn't really know what I was doing and hope removing the #ifdefs doesn't have negative side effects. The idea is to make the functions generally available for external flashing (e.g. you might want to flash an Intel machine using an ARM device as programmer). Beware of big endian trouble, I guess. :-P Change-Id: Ib3d38a622a581afee87b49777e775942cc901fc8 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/17952 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
@ -32,7 +32,7 @@ endif
|
||||
|
||||
FLASHROM_CFLAGS += -MMD -MP -MF $(DEPPATH)/$(@F).d
|
||||
# enables functions that populate the descriptor structs from plain binary dumps
|
||||
FLASHROM_CFLAGS += -D ICH_DESCRIPTORS_FROM_DUMP
|
||||
FLASHROM_CFLAGS += -D ICH_DESCRIPTORS_FROM_DUMP_ONLY
|
||||
FLASHROM_CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
|
||||
|
||||
OBJ = $(OBJATH)/$(SRC:%.c=%.o)
|
||||
|
Reference in New Issue
Block a user