1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 14:11:15 +02:00

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>
This commit is contained in:
Thomas Heijligen
2022-06-30 10:29:44 +02:00
committed by Anastasia Klimchuk
parent 494bedae23
commit df0bbf07de
7 changed files with 136 additions and 135 deletions

View File

@ -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)