diff options
author | Giampiero Giancipoli <gianci@email.it> | 2006-11-22 00:29:51 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2006-11-22 00:29:51 +0000 |
commit | 3ab63e1401a695883dd23156046a8ad50393b165 (patch) | |
tree | bf1dd8e8cc3004816bb443e67f98538b4573c3a0 /util/flashrom/Makefile | |
parent | 440d6f9f8a3417a9ed59fcbf223a5bc750bdf42d (diff) |
apply patch from Giampiero Giancipoli <gianci@email.it>:
Fixed 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.
Signed-off-by: Giampiero Giancipoli <gianci@email.it>
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2505 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/Makefile')
-rw-r--r-- | util/flashrom/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/Makefile b/util/flashrom/Makefile index 770aa0e8c6..46f3c9f5ad 100644 --- a/util/flashrom/Makefile +++ b/util/flashrom/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 \ |