1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 14:11:15 +02:00

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>
This commit is contained in:
Uwe Hermann
2010-02-21 21:17:00 +00:00
parent 6e0b912f46
commit ddd5c9e147
6 changed files with 138 additions and 3 deletions

View File

@ -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.