diff options
author | Sean Rhodes <sean@starlabs.systems> | 2022-05-26 20:56:14 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-07-05 13:06:21 +0000 |
commit | 2eb2dcebc7b09a315b4f7c6bdc8f4abf4220de61 (patch) | |
tree | 0fdaa682c8e47c61b5f16d2b952bab36e4a156fc /src/mainboard/starlabs/labtop/Kconfig | |
parent | 2e21725fd5c8e65dcb1ffb898df7088b33455fff (diff) |
mb/starlabs/labtop: Define CCD Port in Kconfig
Define the CCD (aka "Webcam") USB port in the devicetree as
it is used in multiple places. It is used in devtree to
disable it based on the CMOS setting "webcam", and in the
devicetree to configure the port tuning.
This also corrects the port that is disabled on CML, from
usb2_port[6] to usb2_port[3].
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I16e368fc7965f978f2302633122ba63038603c1e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64704
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/starlabs/labtop/Kconfig')
-rw-r--r-- | src/mainboard/starlabs/labtop/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/labtop/Kconfig b/src/mainboard/starlabs/labtop/Kconfig index 828e452849..e2454bc744 100644 --- a/src/mainboard/starlabs/labtop/Kconfig +++ b/src/mainboard/starlabs/labtop/Kconfig @@ -53,6 +53,11 @@ config BOARD_STARLABS_STARBOOK_TGL if BOARD_STARLABS_LABTOP_SERIES +config CCD_PORT + int + default 6 if BOARD_STARLABS_LABTOP_CML + default 3 + config DEVICETREE default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" |