mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
Add MEC1308 EC programmer
Initial support of Microchip MEC1308 Embedded Controller. BUG=b:156144893 BRANCH=none Signed-off-by: Victor Ding <victording@google.com> Change-Id: I2d51b4bdc0b38b6e488e71b9e774eb6232a2069e Reviewed-on: https://review.coreboot.org/c/flashrom/+/44541 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:

committed by
Edward O'Callaghan

parent
436b4155b1
commit
821e44cb4d
23
Makefile
23
Makefile
@ -180,6 +180,11 @@ UNSUPPORTED_FEATURES += CONFIG_FT2232_SPI=yes
|
||||
else
|
||||
override CONFIG_FT2232_SPI = no
|
||||
endif
|
||||
ifeq ($(CONFIG_MEC1308), yes)
|
||||
UNSUPPORTED_FEATURES += CONFIG_MEC1308=yes
|
||||
else
|
||||
override CONFIG_MEC1308 = no
|
||||
endif
|
||||
ifeq ($(CONFIG_USBBLASTER_SPI), yes)
|
||||
UNSUPPORTED_FEATURES += CONFIG_USBBLASTER_SPI=yes
|
||||
else
|
||||
@ -291,6 +296,11 @@ UNSUPPORTED_FEATURES += CONFIG_DRKAISER=yes
|
||||
else
|
||||
override CONFIG_DRKAISER = no
|
||||
endif
|
||||
ifeq ($(CONFIG_MEC1308), yes)
|
||||
UNSUPPORTED_FEATURES += CONFIG_MEC1308=yes
|
||||
else
|
||||
override CONFIG_MEC1308 = no
|
||||
endif
|
||||
ifeq ($(CONFIG_NICREALTEK), yes)
|
||||
UNSUPPORTED_FEATURES += CONFIG_NICREALTEK=yes
|
||||
else
|
||||
@ -401,6 +411,11 @@ UNSUPPORTED_FEATURES += CONFIG_FT2232_SPI=yes
|
||||
else
|
||||
override CONFIG_FT2232_SPI = no
|
||||
endif
|
||||
ifeq ($(CONFIG_MEC1308), yes)
|
||||
UNSUPPORTED_FEATURES += CONFIG_MEC1308=yes
|
||||
else
|
||||
override CONFIG_MEC1308 = no
|
||||
endif
|
||||
ifeq ($(CONFIG_USBBLASTER_SPI), yes)
|
||||
UNSUPPORTED_FEATURES += CONFIG_USBBLASTER_SPI=yes
|
||||
else
|
||||
@ -692,6 +707,9 @@ CONFIG_ENE_LPC ?= yes
|
||||
# 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
|
||||
|
||||
@ -878,6 +896,11 @@ FEATURE_CFLAGS += -D'CONFIG_ENE_LPC=1'
|
||||
PROGRAMMER_OBJS += ene_lpc.o
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_MEC1308), yes)
|
||||
FEATURE_CFLAGS += -D'CONFIG_MEC1308=1'
|
||||
PROGRAMMER_OBJS += mec1308.o
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_SERPROG), yes)
|
||||
FEATURE_CFLAGS += -D'CONFIG_SERPROG=1'
|
||||
PROGRAMMER_OBJS += serprog.o
|
||||
|
Reference in New Issue
Block a user