diff options
author | Victor Ding <victording@google.com> | 2020-08-18 18:27:26 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-08-20 11:11:35 +0000 |
commit | 821e44cb4dc23ca1261a92b3ee3cdf591c1da91b (patch) | |
tree | f8733fdb56cafdce6f723aece690b3ce7349612e /flashrom.c | |
parent | 436b4155b1ea15c46080ad497cfb0a8afed84368 (diff) | |
download | flashrom-821e44cb4dc23ca1261a92b3ee3cdf591c1da91b.tar.gz flashrom-821e44cb4dc23ca1261a92b3ee3cdf591c1da91b.tar.bz2 flashrom-821e44cb4dc23ca1261a92b3ee3cdf591c1da91b.zip |
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>
Diffstat (limited to 'flashrom.c')
-rw-r--r-- | flashrom.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -84,6 +84,18 @@ const struct programmer_entry programmer_table[] = { }, #endif +#if CONFIG_MEC1308 == 1 + { + .name = "mec1308", + .type = OTHER, + .devs.note = "Microchip MEC1308 Embedded Controller.\n", + .init = mec1308_init, + .map_flash_region = fallback_map, + .unmap_flash_region = fallback_unmap, + .delay = internal_delay, + }, +#endif + #if CONFIG_NIC3COM == 1 { .name = "nic3com", |