summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-14 23:00:36 -0400
committerMike Frysinger <vapier@gentoo.org>2016-03-14 23:00:48 -0400
commit1fd2864c6a0c7dbc206800d327826a447f6cf5d7 (patch)
treec6c65a69576478cf061f4ba132fa2df3365620f2 /sys-apps/flashrom
parentsys-kernel/linux-headers: drop old non-LTS versions (diff)
downloadgentoo-1fd2864c6a0c7dbc206800d327826a447f6cf5d7.tar.gz
gentoo-1fd2864c6a0c7dbc206800d327826a447f6cf5d7.tar.bz2
gentoo-1fd2864c6a0c7dbc206800d327826a447f6cf5d7.zip
sys-apps/flashrom: add USE=ch341a_spi programmer #577282
Diffstat (limited to 'sys-apps/flashrom')
-rw-r--r--sys-apps/flashrom/flashrom-9999.ebuild4
-rw-r--r--sys-apps/flashrom/metadata.xml1
2 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/flashrom/flashrom-9999.ebuild b/sys-apps/flashrom/flashrom-9999.ebuild
index d67568b7aca5..ccbc10baa7d0 100644
--- a/sys-apps/flashrom/flashrom-9999.ebuild
+++ b/sys-apps/flashrom/flashrom-9999.ebuild
@@ -21,7 +21,8 @@ SLOT="0"
# The defaults match the upstream Makefile.
# Note: Do not list bitbang_spi as it is not a programmer; it's a backend used
# by some other spi programmers.
-IUSE_PROGRAMMERS="atahpt +atapromise +atavia +buspirate_spi dediprog +drkaiser +dummy
+IUSE_PROGRAMMERS="
+atahpt +atapromise +atavia +buspirate_spi ch341a_spi dediprog +drkaiser +dummy
+ft2232_spi +gfxnvidia +internal +it8212 +linux_spi mstarddc_spi +nic3com
+nicintel +nicintel_eeprom +nicintel_spi nicnatsemi +nicrealtek +ogp_spi
+pickit2_spi +pony_spi +rayer_spi +satamv +satasii +serprog +usbblaster_spi"
@@ -30,6 +31,7 @@ IUSE="${IUSE_PROGRAMMERS} +internal_dmi static tools +wiki"
LIB_DEPEND="atahpt? ( sys-apps/pciutils[static-libs(+)] )
atapromise? ( sys-apps/pciutils[static-libs(+)] )
atavia? ( sys-apps/pciutils[static-libs(+)] )
+ ch341a_spi? ( virtual/libusb:0[static-libs(+)] )
dediprog? ( virtual/libusb:0[static-libs(+)] )
drkaiser? ( sys-apps/pciutils[static-libs(+)] )
ft2232_spi? ( dev-embedded/libftdi:=[static-libs(+)] )
diff --git a/sys-apps/flashrom/metadata.xml b/sys-apps/flashrom/metadata.xml
index 7ce476368e79..190183916f2d 100644
--- a/sys-apps/flashrom/metadata.xml
+++ b/sys-apps/flashrom/metadata.xml
@@ -19,6 +19,7 @@
<flag name="atavia">Support for VIA VT6421A SATA controllers</flag>
<flag name="bitbang_spi">Bitbanging SPI infrastructure</flag>
<flag name="buspirate_spi">Enable Bus Pirate SPI programmer</flag>
+ <flag name="ch341a_spi">Enable WCH CH341A SPI programmer</flag>
<flag name="dediprog">Dediprog SF100 support</flag>
<flag name="drkaiser">Enable Dr. Kaiser programmer</flag>
<flag name="dummy">Enable dummy tracing</flag>