summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-07-29 14:41:46 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-07-29 14:41:46 +0000
commitee34bcc1f8b612024ecaec2f008366ad0800f528 (patch)
treec0a2858509515d8a885b78d8b983a1c6f4e6eb70
parent4938b961c57c8968d18b735a4e1c1c291d795fbc (diff)
downloadflashrom-ee34bcc1f8b612024ecaec2f008366ad0800f528.tar.gz
Compile gfxnvidia by default, but disallow write/erase.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1117 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--Makefile4
-rw-r--r--gfxnvidia.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 782ecac..3c5d256 100644
--- a/Makefile
+++ b/Makefile
@@ -128,8 +128,8 @@ endif
# 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 and erase do not work properly.
+CONFIG_GFXNVIDIA ?= yes
# Always enable SiI SATA controllers for now.
CONFIG_SATASII ?= yes
diff --git a/gfxnvidia.c b/gfxnvidia.c
index 212f5b9..b0bf79b 100644
--- a/gfxnvidia.c
+++ b/gfxnvidia.c
@@ -82,6 +82,9 @@ int gfxnvidia_init(void)
buses_supported = CHIP_BUSTYPE_PARALLEL;
+ /* Write/erase doesn't work. */
+ programmer_may_write = 0;
+
return 0;
}