1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 22:43:17 +02:00

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>
This commit is contained in:
Edward O'Callaghan
2020-03-02 18:16:14 +11:00
committed by Edward O'Callaghan
parent d3396408d8
commit ad08aef69c
6 changed files with 489 additions and 0 deletions

View File

@ -226,6 +226,11 @@ UNSUPPORTED_FEATURES += CONFIG_RAYER_SPI=yes
else
override CONFIG_RAYER_SPI = no
endif
ifeq ($(CONFIG_RAIDEN), yes)
UNSUPPORTED_FEATURES += CONFIG_RAIDEN=yes
else
override CONFIG_RAIDEN = no
endif
ifeq ($(CONFIG_NIC3COM), yes)
UNSUPPORTED_FEATURES += CONFIG_NIC3COM=yes
else
@ -607,6 +612,9 @@ CONFIG_SERPROG ?= yes
# RayeR SPIPGM hardware support
CONFIG_RAYER_SPI ?= yes
# ChromiumOS servo DUT debug board hardware support
CONFIG_RAIDEN ?= yes
# PonyProg2000 SPI hardware support
CONFIG_PONY_SPI ?= yes
@ -817,6 +825,11 @@ PROGRAMMER_OBJS += rayer_spi.o
NEED_RAW_ACCESS += CONFIG_RAYER_SPI
endif
ifeq ($(CONFIG_RAIDEN), yes)
FEATURE_CFLAGS += -D'CONFIG_RAIDEN=1'
PROGRAMMER_OBJS += raiden_debug_spi.o
endif
ifeq ($(CONFIG_PONY_SPI), yes)
FEATURE_CFLAGS += -D'CONFIG_PONY_SPI=1'
PROGRAMMER_OBJS += pony_spi.o