diff mbox

[U-Boot,07/12] ARM: rmobile: Remove Serial SH probing from Salvator-X board

Message ID 20170820151350.2417-7-marek.vasut+renesas@gmail.com
State Accepted
Commit 1c30aea5b14ff6a6f9c490865048acebccb8f30e
Delegated to: Nobuhiro Iwamatsu
Headers show

Commit Message

Marek Vasut Aug. 20, 2017, 3:13 p.m. UTC
Drop the Serial SH bit from the board since UART now probes from DT instead.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 board/renesas/salvator-x/salvator-x.c | 12 ------------
 1 file changed, 12 deletions(-)

Comments

Nobuhiro Iwamatsu Aug. 25, 2017, 10:23 p.m. UTC | #1
Hi,

2017-08-21 0:13 GMT+09:00 Marek Vasut <marek.vasut@gmail.com>:
> Drop the Serial SH bit from the board since UART now probes from DT instead.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
> ---
>  board/renesas/salvator-x/salvator-x.c | 12 ------------
>  1 file changed, 12 deletions(-)

Applied, thanks.

Best regards,
  Nobuhiro
>
> diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/salvator-x.c
> index ce3892da90..4ed80f5493 100644
> --- a/board/renesas/salvator-x/salvator-x.c
> +++ b/board/renesas/salvator-x/salvator-x.c
> @@ -300,15 +300,3 @@ void reset_cpu(ulong addr)
>         writel(RST_CODE, RST_CA57RESCNT);
>  #endif
>  }
> -
> -static const struct sh_serial_platdata serial_platdata = {
> -       .base = SCIF2_BASE,
> -       .type = PORT_SCIF,
> -       .clk = CONFIG_SH_SCIF_CLK_FREQ,
> -       .clk_mode = INT_CLK,
> -};
> -
> -U_BOOT_DEVICE(salvator_x_scif2) = {
> -       .name = "serial_sh",
> -       .platdata = &serial_platdata,
> -};
> --
> 2.11.0
>
diff mbox

Patch

diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/salvator-x.c
index ce3892da90..4ed80f5493 100644
--- a/board/renesas/salvator-x/salvator-x.c
+++ b/board/renesas/salvator-x/salvator-x.c
@@ -300,15 +300,3 @@  void reset_cpu(ulong addr)
 	writel(RST_CODE, RST_CA57RESCNT);
 #endif
 }
-
-static const struct sh_serial_platdata serial_platdata = {
-	.base = SCIF2_BASE,
-	.type = PORT_SCIF,
-	.clk = CONFIG_SH_SCIF_CLK_FREQ,
-	.clk_mode = INT_CLK,
-};
-
-U_BOOT_DEVICE(salvator_x_scif2) = {
-	.name = "serial_sh",
-	.platdata = &serial_platdata,
-};