Re: [PATCH v3] rockchip: include: asm: fix entering download mode rk3066

2023-11-06 Thread Kever Yang
On 2023/10/28 02:35, Johan Jonker wrote: Keep track of the re-entries with help of the lr register. This binary can be re-used and called from various BROM functions. Only when it's called from the part that handles SPI, NAND or EMMC hardware it needs to early return to BROM ones. In download m

[PATCH v3] rockchip: include: asm: fix entering download mode rk3066

2023-10-27 Thread Johan Jonker
Keep track of the re-entries with help of the lr register. This binary can be re-used and called from various BROM functions. Only when it's called from the part that handles SPI, NAND or EMMC hardware it needs to early return to BROM ones. In download mode when it handles data on USB OTG and UART0