From df0bbf07dec6fcfe8f03f2a0774630a9135c2711 Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Thu, 30 Jun 2022 10:29:44 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/65547 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer Reviewed-by: Angel Pons --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 00477a846..0d0c818ed 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3