path: root/Makefile
diff options
authorGiampiero Giancipoli <>2006-11-22 00:29:51 +0000
committerStefan Reinauer <>2006-11-22 00:29:51 +0000
commit8c5299f83cc2e9032dfd8f01f2d2c9dd4be16007 (patch)
tree8d824237d6351da691b9aab1c30e6e8f60d1d142 /Makefile
parentef54abab332d706f835a79633f92849de2b15806 (diff)
Fix write_page_write_jedec() in jedec.c
Added a check-reprogram loop in the same function, to come around the high page write failure rate on some boards. This patch includes the changes suggested by Ron to simplify the control flow. It also includes trivial changes by me to make flashrom build on newer systems (libpci needs libz now). I also made a small type case compile fix and proper return code handling in one or two places. Corresponding to flashrom svn r78 and coreboot v2 svn r2505. Signed-off-by: Giampiero Giancipoli <> Signed-off-by: Ronald G Minnich <> Signed-off-by: Stefan Reinauer <> Acked-by: Stefan Reinauer <>
Diffstat (limited to 'Makefile')
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 770aa0e..46f3c9f 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ CC = gcc
STRIP = strip
#CFLAGS = -O2 -g -Wall -Werror
CFLAGS = -Os -Wall -Werror -DDISABLE_DOC # -DTS5300
-LDFLAGS = -lpci -static
+LDFLAGS = -lpci -lz -static
OBJS = flash_enable.o udelay.o jedec.o sst28sf040.o am29f040b.o mx29f002.o \
OpenPOWER on IntegriCloud