summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2020-03-02 18:16:14 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2020-03-03 06:02:23 +0000
commitad08aef69c84fbd23ce680c91de954aaae7d3fb4 (patch)
tree1fda2a0125ca1dd187697868fc7e70ec6119a441 /flashrom.c
parentd3396408d8d58e831c7d3c80c3e27f21a6e64df2 (diff)
downloadflashrom-ad08aef69c84fbd23ce680c91de954aaae7d3fb4.tar.gz
flashrom-ad08aef69c84fbd23ce680c91de954aaae7d3fb4.tar.bz2
flashrom-ad08aef69c84fbd23ce680c91de954aaae7d3fb4.zip
raiden_debug: Upstream ChromiumOS servo debug board prog
Initial check-in of the Raiden debugger programmer. Squash in, raiden_debug: Add missing .write_aai cb fn raiden_debug: greatly improve protocol documentation BUG=b:143389556 BRANCH=none TEST=builds Change-Id: Ifad273a708acea4de797a0808be58960635a8864 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/38209 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/flashrom.c b/flashrom.c
index e540027ca..e541b68ff 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -133,6 +133,18 @@ const struct programmer_entry programmer_table[] = {
},
#endif
+#if CONFIG_RAIDEN == 1
+ {
+ .name = "raiden_debug",
+ .type = USB,
+ .devs.note = "All programmer devices speaking the raiden protocol\n",
+ .init = raiden_debug_spi_init,
+ .map_flash_region = fallback_map,
+ .unmap_flash_region = fallback_unmap,
+ .delay = internal_delay,
+ },
+#endif
+
#if CONFIG_DRKAISER == 1
{
.name = "drkaiser",