soc/intel/cannonlake: Add missing USB_PORT_WAKE_ENABLE define
Align support for enable wake-on-usb attach/detach as was introduced in Skylake in `commit 3bfe3404df32ca226c624be0435c640bf1ebeae7`. BUG=b:159187889 BRANCH=none TEST=none Change-Id: Ie63e4f1fcdea130f8faed5c0d34a6a96759946b6 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42716 Reviewed-by: Sam McNally <sammc@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
f9d3d33a55
commit
28da35417b
|
@ -136,4 +136,11 @@ struct usb3_port_config {
|
|||
.tx_downscale_amp = 0x00, \
|
||||
}
|
||||
|
||||
/*
|
||||
* Set bit corresponding to USB port in wake enable bitmap. Bit 0 corresponds
|
||||
* to Port 1, Bit n corresponds to Port (n+1). This bitmap is later used to
|
||||
* decide what ports need to set PORTSCN/PORTSCXUSB3 register bits.
|
||||
*/
|
||||
#define USB_PORT_WAKE_ENABLE(x) (1 << (x - 1))
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue