summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/enable_usbdebug.c
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2021-02-16 09:18:07 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-03-22 11:22:39 +0000
commit9f5261e5fab2059b1b5f173388b0f0c1b7f5f308 (patch)
tree2f40ee9491b97b5ba3bbb2a77007c7abbe204902 /src/soc/amd/stoneyridge/enable_usbdebug.c
parentd92966b61046bb78f2d025b61287e32d3f44b61a (diff)
device/azalia_device.c: Switch to stopwatch
Use timer.h helpers instead of open-coding timeout handling in polling loops. The 25-microsecond delay in `wait_for_valid` looks odd, and may be removed in subsequent commits. For now, preserve existing behavior. Change-Id: Id1227c6812618597c37408a7bf53bcbcae97374a Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50789 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/stoneyridge/enable_usbdebug.c')
0 files changed, 0 insertions, 0 deletions