* rc: scratch register */
.macro early_uart_ready rb rc
1:
- ldr \rc, [\rb, #(UART_LSR << EARLY_UART_REG_SHIFT)] /* Read LSR */
- tst \rc, #UART_LSR_THRE /* Check Xmit holding register flag */
- beq 1b /* Wait for the UART to be ready */
+ ldr \rc, [\rb, #(UART_LSR << EARLY_UART_REG_SHIFT)] /* Read LSR */
+ tst \rc, #UART_LSR_THRE /* Check Xmit holding register flag */
+ beq 1b /* Wait for the UART to be ready */
.endm
/* 8250 UART transmit character
psci = dt_find_compatible_node(NULL, NULL, "arm,psci-0.2");
if ( !psci )
- return -EOPNOTSUPP;
+ return -EOPNOTSUPP;
ret = psci_is_smc_method(psci);
if ( ret )