From b2a14801916ad9dfa2a6b4fa9ceb6de7d2d03e24 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Thu, 12 Aug 2021 16:48:12 -0700 Subject: device: Move MIPI panel library from mainboard/google/kukui into common All boards that are trying to use MIPI panels eventually run into the problem that they need to store physical parameters and a list of DCS initialization commands for each panel, and these commands can be very different (e.g. a large amount of very short commands, a few very large commands, etc.). Finding a data format to fit all these different cases efficiently into the same structures keeps being a challenge, and the Kukui mainboard already once put a lot of effort into designing a clean, flexible and efficient solution for this. This patch moves that framework into a common src/device/mipi/ library where it can be used by other boards as well. (Also, this will hopefully allow us to save some duplicated work when using the same panel on different boards at some point.) Signed-off-by: Julius Werner Change-Id: I877f2b0c7ab984412b288e2ed27f37cd93c70863 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56965 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu Reviewed-by: Hung-Te Lin --- src/device/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device/Makefile.inc') diff --git a/src/device/Makefile.inc b/src/device/Makefile.inc index 808648d4b4..70013c9f06 100644 --- a/src/device/Makefile.inc +++ b/src/device/Makefile.inc @@ -40,7 +40,7 @@ ramstage-$(CONFIG_PCIEXP_PLUGIN_SUPPORT) += pciexp_device.c ramstage-$(CONFIG_CARDBUS_PLUGIN_SUPPORT) += cardbus_device.c endif -subdirs-y += oprom dram +subdirs-y += oprom dram mipi bootblock-$(CONFIG_SOFTWARE_I2C) += software_i2c.c verstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c -- cgit v1.2.3