Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: serial: pl011: Remove busy wait in Ambiq UART initiate
Ambiq UART requires specific busy wait during initialization for propagating powering control registers, original k_busy_wait() used here generated a dead loop because k_busy_wait() relays on timer, who's driver is initialized after UART(UART init in PRE_KERNEL_1, timer init in PRE_KERNEL_2), replace k_busy_wait() with checking power status register is more suitable here. (cherry picked from commit 3e456e8) Original-Signed-off-by: Bryan Zhu <[email protected]> GitOrigin-RevId: 3e456e8 Change-Id: I5dda348631135cd91afc4eddbb6fad4bce941333 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5109849 Tested-by: ChromeOS Prod (Robot) <[email protected]> Reviewed-by: Fabio Baltieri <[email protected]> Commit-Queue: Fabio Baltieri <[email protected]> Tested-by: Fabio Baltieri <[email protected]>
- Loading branch information