diff mbox

[03/03] ARM: shmobile: Use shmobile_init_delay() on r7s72100

Message ID 20140605064754.14469.8292.sendpatchset@w520 (mailing list archive)
State Superseded
Headers show

Commit Message

Magnus Damm June 5, 2014, 6:47 a.m. UTC
From: Magnus Damm <damm+renesas@opensource.se>

Adjust Genmai board support to use shmobile_init_delay() together
with r7s72100 CPU Frequency settings from the DTS.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 arch/arm/mach-shmobile/board-genmai-reference.c |    2 +-
 arch/arm/mach-shmobile/board-genmai.c           |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Geert Uytterhoeven June 5, 2014, 8:22 a.m. UTC | #1
Hi Magnus,

On Thu, Jun 5, 2014 at 8:47 AM, Magnus Damm <magnus.damm@gmail.com> wrote:
> From: Magnus Damm <damm+renesas@opensource.se>
>
> Adjust Genmai board support to use shmobile_init_delay() together
> with r7s72100 CPU Frequency settings from the DTS.
>
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
> ---
>
>  arch/arm/mach-shmobile/board-genmai-reference.c |    2 +-
>  arch/arm/mach-shmobile/board-genmai.c           |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

The contents of this patch are identical to "[PATCH 02/03] ARM: shmobile:
Use shmobile_init_delay() on Genmai boards"?

I had expected it to touch arch/arm/mach-shmobile/setup-r7s72100.c and
arch/arm/mach-shmobile/include/mach/r7s72100.h.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Magnus Damm June 5, 2014, 9:44 p.m. UTC | #2
Hi Geert,

On Thu, Jun 5, 2014 at 5:22 PM, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> Hi Magnus,
>
> On Thu, Jun 5, 2014 at 8:47 AM, Magnus Damm <magnus.damm@gmail.com> wrote:
>> From: Magnus Damm <damm+renesas@opensource.se>
>>
>> Adjust Genmai board support to use shmobile_init_delay() together
>> with r7s72100 CPU Frequency settings from the DTS.
>>
>> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
>> ---
>>
>>  arch/arm/mach-shmobile/board-genmai-reference.c |    2 +-
>>  arch/arm/mach-shmobile/board-genmai.c           |    2 +-
>>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> The contents of this patch are identical to "[PATCH 02/03] ARM: shmobile:
> Use shmobile_init_delay() on Genmai boards"?
>
> I had expected it to touch arch/arm/mach-shmobile/setup-r7s72100.c and
> arch/arm/mach-shmobile/include/mach/r7s72100.h.

I was about to explain how the patches are split this way between SoC
and board because ARM SoC likes to merge things that way, but now I
realize that you are telling me that I sent the wrong patch. =)

Thanks for pointing this out. I will fix up and resend (hopefully the
right code this time).

Cheers,

/ magnus
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 0001/arch/arm/mach-shmobile/board-genmai-reference.c
+++ work/arch/arm/mach-shmobile/board-genmai-reference.c	2014-05-29 17:50:54.000000000 +0900
@@ -47,7 +47,7 @@  static const char * const genmai_boards_
 };
 
 DT_MACHINE_START(GENMAI_DT, "genmai")
-	.init_early	= r7s72100_init_early,
+	.init_early	= shmobile_init_delay,
 	.init_machine	= genmai_add_standard_devices,
 	.dt_compat	= genmai_boards_compat_dt,
 MACHINE_END
--- 0001/arch/arm/mach-shmobile/board-genmai.c
+++ work/arch/arm/mach-shmobile/board-genmai.c	2014-05-29 17:50:39.000000000 +0900
@@ -154,7 +154,7 @@  static const char * const genmai_boards_
 };
 
 DT_MACHINE_START(GENMAI_DT, "genmai")
-	.init_early	= r7s72100_init_early,
+	.init_early	= shmobile_init_delay,
 	.init_machine	= genmai_add_standard_devices,
 	.dt_compat	= genmai_boards_compat_dt,
 MACHINE_END