Skip to content

Commit

Permalink
imx8qm-mek: Fix early print
Browse files Browse the repository at this point in the history
Function `arm64_lowputc` corrupted the x1 register which is used in function `boot_stage_puts`.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
  • Loading branch information
Fix-Point committed Sep 26, 2024
1 parent 44cce29 commit e427ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/src/imx8/imx8qm_lowputc.S
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ SECTION_FUNC(text, arm64_earlyprintinit)
GTEXT(arm64_lowputc)
SECTION_FUNC(text, arm64_lowputc)
ldr x15, =UART1_BASE_ADDRESS
early_uart_ready x15, 1
early_uart_ready x15, 2
early_uart_transmit x15, w0
ret

0 comments on commit e427ff7

Please sign in to comment.