mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-04 20:26:13 +02:00
serial: sh: Handle HSCIF on all 64-bit R-Car SoC
The HSCIF variant present on Renesas R-Car Gen5 SoC is compatible with the HSCIF variant present on Renesas R-Car Gen4 SoC. Enable HSSRR register programming for HSCIF present on all 64-bit R-Car SoCs, which covers R-Car Gen3, Gen4 and newly also Gen5. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
parent
cc417680dc
commit
d3c7fb5eb9
@ -59,7 +59,7 @@ static void sh_serial_init_generic(struct uart_port *port)
|
||||
sci_out(port, SCSPTR, 0x0003);
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_RCAR_GEN2) || IS_ENABLED(CONFIG_RCAR_GEN3) || IS_ENABLED(CONFIG_RCAR_GEN4)
|
||||
#if IS_ENABLED(CONFIG_RCAR_GEN2) || IS_ENABLED(CONFIG_RCAR_GEN3) || IS_ENABLED(CONFIG_RCAR_GEN4) || IS_ENABLED(CONFIG_RCAR_GEN5)
|
||||
if (port->type == PORT_HSCIF)
|
||||
sci_out(port, HSSRR, HSSRR_SRE | HSSRR_SRCYC8);
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user