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
commit9a4fa98ca28579630d4c76a47f7e15f765f48866 (patch)
tree523c9d402056eebfa075643e8cce2ca2853ca32c /Makefile
parent7660b62e3c4139b5a61a905acec78b64febffda8 (diff)
downloadflashrom-9a4fa98ca28579630d4c76a47f7e15f765f48866.zip
flashrom-9a4fa98ca28579630d4c76a47f7e15f765f48866.tar.gz
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 3b9432f..d5132a7 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.
OpenPOWER on IntegriCloud