summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2011-02-04 21:37:59 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2011-02-04 21:37:59 +0000
commit5b74fbcf67a7119903ba83db122520666566f1ee (patch)
treeb3e720863f7cad046cc51f8f6b6549c2ab171907 /Makefile
parentc416116446be7e62193f0091aed3019ffe51ee7d (diff)
downloadflashrom-5b74fbcf67a7119903ba83db122520666566f1ee.tar.gz
Support for Angelbird Wings PCIe SSD (solid-state drive).
It uses a Marvell 88SX7042 SATA controller internally which has access to a separate flash chip hosting the option ROM. Thanks to Angelbird Ltd for sponsoring development of this driver! I expect the code to work for that SATA controller even if it is not part of the Angelbird SSD. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1258 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 370318c..9225204 100644
--- a/Makefile
+++ b/Makefile
@@ -155,6 +155,9 @@ CONFIG_BUSPIRATE_SPI ?= yes
# Disable Dediprog SF100 until support is complete and tested.
CONFIG_DEDIPROG ?= no
+# Always enable Marvell SATA controllers for now.
+CONFIG_SATAMV ?= yes
+
# Disable wiki printing by default. It is only useful if you have wiki access.
CONFIG_PRINT_WIKI ?= no
@@ -283,6 +286,12 @@ FEATURE_LIBS += -lusb
PROGRAMMER_OBJS += dediprog.o
endif
+ifeq ($(CONFIG_SATAMV), yes)
+FEATURE_CFLAGS += -D'CONFIG_SATAMV=1'
+PROGRAMMER_OBJS += satamv.o
+NEED_PCI := yes
+endif
+
ifeq ($(NEED_SERIAL), yes)
LIB_OBJS += serial.o
endif