aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2020-11-27 12:59:49 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2020-11-30 23:26:57 +0000
commitf95cc8f9f607626e72fad812262bc38af954fbb2 (patch)
tree64443b8892d98832a853c6fb3638f63d1e016533
parent732f2eeddb59f664421d42cec0161e77dbe1d86b (diff)
downloadflashrom-f95cc8f9f607626e72fad812262bc38af954fbb2.tar.gz
flashrom-f95cc8f9f607626e72fad812262bc38af954fbb2.tar.bz2
flashrom-f95cc8f9f607626e72fad812262bc38af954fbb2.zip
flashrom.c: Correct "raiden_debug_spi" drv name
Unfortunately raiden_debug was upstreamed with a slightly incorrect name of "raiden_debug" whereas in ChromiumOS it is known as "raiden_debug_spi" and so correct this to align. This avoids confusion and divergence for a unified future. Change-Id: I0eca35863403c5d4adbe19b31801e8dfa072006f Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/48106 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sam McNally <sammc@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--flashrom.c2
-rw-r--r--programmer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/flashrom.c b/flashrom.c
index 630e7ea7..7f5f2a84 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -147,7 +147,7 @@ const struct programmer_entry programmer_table[] = {
#if CONFIG_RAIDEN_DEBUG_SPI == 1
{
- .name = "raiden_debug",
+ .name = "raiden_debug_spi",
.type = USB,
.devs.dev = devs_raiden,
.init = raiden_debug_spi_init,
diff --git a/programmer.h b/programmer.h
index c93bf839..d66d239b 100644
--- a/programmer.h
+++ b/programmer.h
@@ -47,7 +47,7 @@ enum programmer {
PROGRAMMER_GFXNVIDIA,
#endif
#if CONFIG_RAIDEN_DEBUG_SPI == 1
- PROGRAMMER_RAIDEN,
+ PROGRAMMER_RAIDEN_DEBUG_SPI,
#endif
#if CONFIG_DRKAISER == 1
PROGRAMMER_DRKAISER,