[flashrom] [PATCH] Enable gfxnvidia, disallow write/erase
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Thu Jul 1 17:36:01 CEST 2010
Compile gfxnvidia by default, but disallow write/erase.
Needs [PATCH] Allow programmers to disallow writes
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Index: flashrom-gfxnvidia_enable_without_write/gfxnvidia.c
===================================================================
--- flashrom-gfxnvidia_enable_without_write/gfxnvidia.c (Revision 1065)
+++ flashrom-gfxnvidia_enable_without_write/gfxnvidia.c (Arbeitskopie)
@@ -75,6 +75,9 @@
buses_supported = CHIP_BUSTYPE_PARALLEL;
+ /* Write/erase doesn't work. */
+ programmer_may_write = 0;
+
return 0;
}
Index: flashrom-gfxnvidia_enable_without_write/Makefile
===================================================================
--- flashrom-gfxnvidia_enable_without_write/Makefile (Revision 1065)
+++ flashrom-gfxnvidia_enable_without_write/Makefile (Arbeitskopie)
@@ -113,8 +113,8 @@
# Always enable 3Com NICs for now.
CONFIG_NIC3COM ?= yes
-# Disable NVIDIA graphics cards for now, write/erase don't work properly.
-CONFIG_GFXNVIDIA ?= no
+# Enable NVIDIA graphics cards. Note: write/erase don't work properly.
+CONFIG_GFXNVIDIA ?= yes
# Always enable SiI SATA controllers for now.
CONFIG_SATASII ?= yes
--
http://www.hailfinger.org/
More information about the flashrom
mailing list