risc-v/mpfs: don't reset uart1 while entering OpenSBI
u-boot/kernel may use any uart, not just uart1, depending on the device tree configuration. They will also reset the corresponding uarts as well. It doesn't need to be done here. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
This commit is contained in:
parent
54a4eb01ce
commit
133faf203d
@ -414,14 +414,6 @@ static int mpfs_early_init(bool cold_boot)
|
||||
modifyreg32(MPFS_SYSREG_SOFT_RESET_CR, 0, SYSREG_SOFT_RESET_CR_MMC);
|
||||
modifyreg32(MPFS_SYSREG_SOFT_RESET_CR, SYSREG_SOFT_RESET_CR_MMC, 0);
|
||||
|
||||
/* U-boot will use serial console 1, just turn on MMUART1 clocks now in
|
||||
* order to see also u-boot traces.
|
||||
*/
|
||||
|
||||
modifyreg32(MPFS_SYSREG_SOFT_RESET_CR, SYSREG_SOFT_RESET_CR_MMUART1, 0);
|
||||
modifyreg32(MPFS_SYSREG_SUBBLK_CLOCK_CR, 0,
|
||||
SYSREG_SUBBLK_CLOCK_CR_MMUART1);
|
||||
|
||||
/* There are other clocks that need to be enabled for the Linux kernel to
|
||||
* run. For now, turn on all the clocks.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user