coreboot/src
Reka Norman a6de947a6b mb/google/brya/var/nereid: Configure descriptor for either Type-C or HDMI
Some bytes in the descriptor need to be set differently for Type-C and
HDMI. To allow using a single firmware variant for both cases, update
the descriptor at runtime based on fw_config. This is a temporary
workaround while we find a better solution.

The byte values were determined by changing the following CSE strap and
comparing the generated descriptors:
Type-C: TypeCPort2Config = "No Thunderbolt"
HDMI:   TypeCPort2Config = "DP Fixed Connection"

The default value before updating the descriptor is Type-C, but this was
chosen arbitrarily.

BUG=b:226848617
TEST=Type-C and HDMI both work on nereid with fw_config set correctly.

Change-Id: I2cc230e3bd35816c81989ae7e01df5d2c152062e
Signed-off-by: Reka Norman <rekanorman@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63366
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Sam McNally <sammc@google.com>
2022-04-07 08:14:37 +00:00
..
acpi drivers/intel/dptf: Add support for Battery participant 2022-04-05 14:48:47 +00:00
arch arch/x86/postcar: Use a separate stack for C execution 2022-04-01 22:17:19 +00:00
commonlib util/cbmem: Add FlameGraph-compatible timestamps output 2022-03-31 23:04:58 +00:00
console src/console/Kconfig: Add option to disable loglevel prefix 2022-03-30 00:02:34 +00:00
cpu cpu/x86/mtrr: Delay removing temp variable range MTRR snapshot 2022-04-02 15:00:24 +00:00
device device/i2c_bus: Constify i2c_busdev and i2c_link 2022-04-01 22:17:58 +00:00
drivers drivers/intel/fsp1_1: Rename hob finding functions 2022-04-06 16:20:06 +00:00
ec ec/starlabs/merlin: Add EC related files for Cezanne boards 2022-04-06 16:21:31 +00:00
include ELOG: Refactor watchdog_tombstone 2022-04-06 23:42:56 +00:00
lib lib/device_tree.c: zero-initialize new DT nodes 2022-03-22 20:45:26 +00:00
mainboard mb/google/brya/var/nereid: Configure descriptor for either Type-C or HDMI 2022-04-07 08:14:37 +00:00
northbridge nb/intel/sandybridge/acpi: Support setting PCI bars above 4G 2022-03-28 15:28:19 +00:00
security {drivers/security}: Replace cb_err_t with enum cb_err 2022-03-09 08:40:43 +00:00
soc soc/intel/alderlake: Add support to update descriptor at runtime 2022-04-07 08:12:20 +00:00
southbridge sb/amd/hudson/spi.c: Use C over CPP conditional 2022-03-25 20:06:57 +00:00
superio Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
vendorcode ELOG: Refactor watchdog_tombstone 2022-04-06 23:42:56 +00:00
Kconfig src/Kconfig: Update the path to 'c_start.S' for GDB_STUB config 2022-02-22 20:49:10 +00:00