From ee34bcc1f8b612024ecaec2f008366ad0800f528 Mon Sep 17 00:00:00 2001 From: hailfinger Date: Thu, 29 Jul 2010 14:41:46 +0000 Subject: Compile gfxnvidia by default, but disallow write/erase. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Uwe Hermann git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1117 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- Makefile | 4 ++-- gfxnvidia.c | 3 +++ 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; } -- cgit v1.2.1