summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-02-21 21:17:00 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-02-21 21:17:00 +0000
commitddd5c9e147e99430ed031cbf20380d745850c046 (patch)
tree523c9d402056eebfa075643e8cce2ca2853ca32c /Makefile
parent6e0b912f469a5595c138b3f7ddad77d691330e2f (diff)
downloadflashrom-ddd5c9e147e99430ed031cbf20380d745850c046.tar.gz
flashrom-ddd5c9e147e99430ed031cbf20380d745850c046.tar.bz2
flashrom-ddd5c9e147e99430ed031cbf20380d745850c046.zip
Add initial (non-working) code for Highpoint ATA/RAID controllers
It's disabled by default. The current status is detailed at: http://www.flashrom.org/pipermail/flashrom/2010-January/001828.html Corresponding to flashrom svn r908. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3b9432fdb..d5132a7a9 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,10 @@ CONFIG_GFXNVIDIA ?= no
# Always enable SiI SATA controllers for now.
CONFIG_SATASII ?= yes
+# Highpoint (HPT) ATA/RAID controller support.
+# IMPORTANT: This code is not yet working!
+CONFIG_ATAHPT ?= no
+
# Always enable FT2232 SPI dongles for now.
CONFIG_FT2232SPI ?= yes
@@ -138,6 +142,12 @@ PROGRAMMER_OBJS += satasii.o
NEED_PCI := yes
endif
+ifeq ($(CONFIG_ATAHPT), yes)
+FEATURE_CFLAGS += -D'ATAHPT_SUPPORT=1'
+PROGRAMMER_OBJS += atahpt.o
+NEED_PCI := yes
+endif
+
ifeq ($(CONFIG_FT2232SPI), yes)
FTDILIBS := $(shell pkg-config --libs libftdi 2>/dev/null || printf "%s" "-lftdi -lusb")
# This is a totally ugly hack.