diff options
author | Tom Rini <trini@konsulko.com> | 2018-01-26 15:46:34 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-26 15:46:34 +0300 |
commit | 1d12a7c8cd4e58d5c3989bc239d5fa9577079dfd (patch) | |
tree | 00550f8c91498b648d95c0c1c9f642deb324c4a5 /drivers/serial | |
parent | a3f77c810b1a57853e4d5fee3014ac8cbbd03a9a (diff) | |
parent | 58c125b9e2b232ce73ed7b24ba7b1ca5ff41c5bd (diff) | |
download | u-boot-1d12a7c8cd4e58d5c3989bc239d5fa9577079dfd.tar.xz |
Merge git://git.denx.de/u-boot-spi
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/serial_pic32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_pic32.c b/drivers/serial/serial_pic32.c index b0e01aa0e5..0632d26211 100644 --- a/drivers/serial/serial_pic32.c +++ b/drivers/serial/serial_pic32.c @@ -51,8 +51,8 @@ static int pic32_serial_init(void __iomem *base, ulong clk, u32 baudrate) u32 div = DIV_ROUND_CLOSEST(clk, baudrate * 16); /* wait for TX FIFO to empty */ - wait_for_bit(__func__, base + U_STA, UART_TX_EMPTY, - true, CONFIG_SYS_HZ, false); + wait_for_bit_le32(base + U_STA, UART_TX_EMPTY, + true, CONFIG_SYS_HZ, false); /* send break */ writel(UART_TX_BRK, base + U_STASET); |