sb/intel/bd82x6x/early_usb: Print error for invalid USB setting
commitc943d6f6a4c6b632084984b9aeeb7e5cc6dc357e
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Sun, 29 Oct 2023 18:51:17 +0000 (29 19:51 +0100)
committerLean Sheng Tan <sheng.tan@9elements.com>
Mon, 15 Jan 2024 09:33:51 +0000 (15 09:33 +0000)
tree3ffbd26f7326393e0d5a3e63501726cc83968690
parent42ea8b2c674ddd9e859a001eac208b8a5da2c0fa
sb/intel/bd82x6x/early_usb: Print error for invalid USB setting

According to BWG the USB current setting 0 should not be used for
desktop boards. As autoport defaults to 0 if the USB current doesn't
match one of the lookup table entries most of the desktop boards in
tree have such a setting. Print an error to alert users of such boards
to update the USB current settings.

Tested: Lenovo X220 still boots.

Change-Id: If76e9126b4aba8e16c1c91dece725aac12e1a7e9
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78827
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/southbridge/intel/bd82x6x/early_usb.c