1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 14:11:15 +02:00

Move generic programmer function into newly introduced programmer.c

Some programmers (most notably FT2232SPI) use fallback_* and noop_*,
but those functions lived inside internal.c and were unavailable if no
PCI-based programmers were compiled in.

Move those functions to the new file programmer.c. Thanks to Patrick
Georgi for finding this.

Corresponding to flashrom svn r829.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
This commit is contained in:
Carl-Daniel Hailfinger
2010-01-06 10:21:00 +00:00
parent c57a920f34
commit cc1802db50
4 changed files with 102 additions and 78 deletions

View File

@ -50,7 +50,7 @@ LIB_OBJS = layout.o
CLI_OBJS = flashrom.o print.o
PROGRAMMER_OBJS = udelay.o
PROGRAMMER_OBJS = udelay.o programmer.o
all: pciutils features dep $(PROGRAM)