diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2022-06-30 10:29:44 +0200 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-07-17 22:43:56 +0000 |
commit | df0bbf07dec6fcfe8f03f2a0774630a9135c2711 (patch) | |
tree | d54a4695d994a5ebf245b92f226f811f59d58d99 /Makefile | |
parent | 494bedae23c547e0a3e8f86a5a69cf4b05bd1586 (diff) | |
download | flashrom-df0bbf07dec6fcfe8f03f2a0774630a9135c2711.tar.gz flashrom-df0bbf07dec6fcfe8f03f2a0774630a9135c2711.tar.bz2 flashrom-df0bbf07dec6fcfe8f03f2a0774630a9135c2711.zip |
Rename lspcon_i2c_spi to parade_lspcon
The chip targeted by the `lspcon_i2c_spi` programmer is a Parade PS175.
Rename the programmer to match the chips vendor / family instead of the
generic LSPCON protocol. Remove the `_i2c_spi` ending in preparation to
become an opaque master. The chip is visible on an Acer Chromebox CXI4.
https://www.paradetech.com/products/ps175/
https://www.acer.com/ac/en/US/content/series/acerchromeboxcxi4
TEST: `make CONFIG_PARADE_LSPCON=yes` and
`meson build -Dconfig_parade_lspcon=true` produces flashrom
binaries with the parade_lspcon programmer included.
Change-Id: I9148be6d9162c1722ff739929ca5e181b628dd57
Signed-off-by: Thomas Heijligen <src@posteo.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65547
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -173,7 +173,7 @@ DEPENDS_ON_LIB_NI845X := \ DEPENDS_ON_LINUX_I2C := \ CONFIG_MSTARDDC_SPI \ - CONFIG_LSPCON_I2C_SPI \ + CONFIG_PARADE_LSPCON \ CONFIG_REALTEK_MST_I2C_SPI \ CONFIG_MEDIATEK_I2C_SPI \ @@ -455,8 +455,8 @@ CONFIG_PICKIT2_SPI ?= yes # Always enable STLink V3 CONFIG_STLINKV3_SPI ?= yes -# Disables LSPCON support until the i2c helper supports multiple systems. -CONFIG_LSPCON_I2C_SPI ?= no +# Disables Parade LSPCON support until the i2c helper supports multiple systems. +CONFIG_PARASE_LSPCON ?= no # Disables MediaTek support until the i2c helper supports multiple systems. CONFIG_MEDIATEK_I2C_SPI ?= no @@ -663,9 +663,9 @@ FEATURE_FLAGS += -D'CONFIG_STLINKV3_SPI=1' PROGRAMMER_OBJS += stlinkv3_spi.o endif -ifeq ($(CONFIG_LSPCON_I2C_SPI), yes) -FEATURE_FLAGS += -D'CONFIG_LSPCON_I2C_SPI=1' -PROGRAMMER_OBJS += lspcon_i2c_spi.o +ifeq ($(CONFIG_PARADE_LSPCON), yes) +FEATURE_FLAGS += -D'CONFIG_PARADE_LSPCON=1' +PROGRAMMER_OBJS += parade_lspcon.o endif ifeq ($(CONFIG_MEDIATEK_I2C_SPI), yes) |