mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
mec1308: remove MEC1308 EC programmer
Best efforts were made to upstream older Chromebook support for good intentions for folks interested. However, we no longer have the hardware available to test and maintain the code as the hardware is now end of life. Therefore the code state has sadly fallen into a unknown state. BUG=none BRANCH=none TEST=builds and ninja test passes Signed-off-by: Victor Ding <victording@google.com> Change-Id: I535b6380846734c999474519e9e60a73eb6a2ec4 Reviewed-on: https://review.coreboot.org/c/flashrom/+/56476 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
15
Makefile
15
Makefile
@ -231,7 +231,7 @@ FLASHROM_CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
|
||||
# For now we disable all PCI-based programmers on Windows/MinGW (no libpci).
|
||||
$(call mark_unsupported,$(DEPENDS_ON_LIBPCI))
|
||||
# And programmers that need raw access.
|
||||
$(call mark_unsupported,CONFIG_MEC1308 CONFIG_RAYER_SPI)
|
||||
$(call mark_unsupported,CONFIG_RAYER_SPI)
|
||||
|
||||
else # No MinGW
|
||||
|
||||
@ -253,8 +253,6 @@ $(call mark_unsupported,CONFIG_ATAPROMISE)
|
||||
$(call mark_unsupported,CONFIG_BUSPIRATE_SPI CONFIG_SERPROG CONFIG_PONY_SPI)
|
||||
# Dediprog, Developerbox, USB-Blaster, PICkit2, CH341A and FT2232 are not supported with libpayload (missing libusb support).
|
||||
$(call mark_unsupported,$(DEPENDS_ON_LIBUSB1) $(DEPENDS_ON_LIBFTDI) $(DEPENDS_ON_LIBJAYLINK))
|
||||
# Odd ones. (FIXME: why?)
|
||||
$(call mark_unsupported,CONFIG_MEC1308)
|
||||
endif
|
||||
|
||||
# Android is handled internally as separate OS, but it supports about the same drivers as Linux.
|
||||
@ -295,7 +293,7 @@ endif
|
||||
ifneq ($(ARCH), x86)
|
||||
$(call mark_unsupported,CONFIG_NIC3COM CONFIG_NICREALTEK CONFIG_NICNATSEMI)
|
||||
$(call mark_unsupported,CONFIG_RAYER_SPI CONFIG_ATAHPT CONFIG_ATAPROMISE)
|
||||
$(call mark_unsupported,CONFIG_SATAMV CONFIG_MEC1308)
|
||||
$(call mark_unsupported,CONFIG_SATAMV)
|
||||
endif
|
||||
|
||||
# Additionally disable all drivers needing raw access (memory, PCI, port I/O)
|
||||
@ -383,9 +381,6 @@ CONFIG_ATAPROMISE ?= no
|
||||
# Always enable FT2232 SPI dongles for now.
|
||||
CONFIG_FT2232_SPI ?= yes
|
||||
|
||||
# Microchip MEC1308 Embedded Controller
|
||||
CONFIG_MEC1308 ?= yes
|
||||
|
||||
# Always enable Altera USB-Blaster dongles for now.
|
||||
CONFIG_USBBLASTER_SPI ?= yes
|
||||
|
||||
@ -529,12 +524,6 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_MEC1308), yes)
|
||||
FEATURE_CFLAGS += -D'CONFIG_MEC1308=1'
|
||||
PROGRAMMER_OBJS += mec1308.o
|
||||
NEED_RAW_ACCESS += CONFIG_MEC1308
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_SERPROG), yes)
|
||||
FEATURE_CFLAGS += -D'CONFIG_SERPROG=1'
|
||||
PROGRAMMER_OBJS += serprog.o
|
||||
|
Reference in New Issue
Block a user