1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +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:
Victor Ding
2020-08-18 18:27:26 +10:00
committed by Edward O'Callaghan
parent 436b4155b1
commit 821e44cb4d
6 changed files with 572 additions and 0 deletions

View File

@ -112,6 +112,9 @@ enum programmer {
#if CONFIG_USBBLASTER_SPI == 1
PROGRAMMER_USBBLASTER_SPI,
#endif
#if CONFIG_MEC1308 == 1
PROGRAMMER_MEC1308,
#endif
#if CONFIG_MSTARDDC_SPI == 1
PROGRAMMER_MSTARDDC_SPI,
#endif
@ -697,6 +700,11 @@ static inline int try_mtd(void) { return 1; };
/* mcp6x_spi.c */
int mcp6x_spi_init(int want_spi);
/* mec1308.c */
#if CONFIG_MEC1308 == 1
int mec1308_init(void);
#endif
/* sb600spi.c */
int sb600_probe_spi(struct pci_dev *dev);