Separate ST M50FLW support from generic JEDEC code
The generic jedec.c does not work for the ST M50FLW flash devices,
because they need an unlock command first. For this reason, ST M50FLW
support is moved to a new HW support module, because any change in
jedec.c would bear the risk to cause problems with the already supported
devices.
It's already tested with ST M50FLW080A; the other chips of this family i
dont have available, so i couldnt test it.
Corresponding to flashrom svn r219 and coreboot v2 svn r3274.
Signed-off-by: Claus Gindhart <claus.gindhart@kontron.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
diff --git a/Makefile b/Makefile
index 2258360..9ea7d73 100644
--- a/Makefile
+++ b/Makefile
@@ -16,15 +16,15 @@
ifeq ($(OS_ARCH), SunOS)
LDFLAGS = -lpci -lz
else
-LDFLAGS = -lpci -lz -static
+LDFLAGS = -lpci -lz
STRIP_ARGS = -s
endif
-OBJS = chipset_enable.o board_enable.o udelay.o jedec.o sst28sf040.o \
- am29f040b.o mx29f002.o sst39sf020.o m29f400bt.o w49f002u.o \
- 82802ab.o msys_doc.o pm49fl004.o sst49lf040.o sst49lfxxxc.o \
- sst_fwhub.o layout.o cbtable.o flashchips.o flashrom.o \
- w39v080fa.o sharplhf00l04.o w29ee011.o spi.o
+OBJS = chipset_enable.o board_enable.o udelay.o jedec.o stm50flw0x0x.c \
+ sst28sf040.o am29f040b.o mx29f002.o sst39sf020.o m29f400bt.o \
+ w49f002u.o 82802ab.o msys_doc.o pm49fl004.o sst49lf040.o \
+ sst49lfxxxc.o sst_fwhub.o layout.o cbtable.o flashchips.o \
+ flashrom.o w39v080fa.o sharplhf00l04.o w29ee011.o spi.o
all: pciutils dep $(PROGRAM)