Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1426719 > unrolled thread
| Started by | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| First post | 2016-06-20 17:50 +0200 |
| Last post | 2016-06-20 22:30 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH] clk: renesas: build clk-rcar-gen2.o for R8A7792 Arnd Bergmann <arnd@arndb.de> - 2016-06-20 17:50 +0200
Re: [PATCH] clk: renesas: build clk-rcar-gen2.o for R8A7792 Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-06-20 19:50 +0200
Re: [PATCH] clk: renesas: build clk-rcar-gen2.o for R8A7792 Geert Uytterhoeven <geert@linux-m68k.org> - 2016-06-20 22:30 +0200
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2016-06-20 17:50 +0200 |
| Subject | [PATCH] clk: renesas: build clk-rcar-gen2.o for R8A7792 |
| Message-ID | <rM9Cy-1EU-39@gated-at.bofh.it> |
The newly added support for R8A7792 causes build failures
because we try to call rcar_gen2_clocks_init but that is not
built into the kernel:
arch/arm/mach-shmobile/built-in.o: In function `rcar_gen2_timer_init':
:(.init.text+0x3b0): undefined reference to `rcar_gen2_clocks_init'
This changes the clk Makefile to match the other platforms, though
I guess it would be better to find another way to do this, e.g.
by not requiring the external function call by relying on
CLK_OF_DECLARE(), or by making the ARCH_RCAR_GEN2 also control
the compilation of the clk driver.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 3ebee0adbfe7 ("ARM: shmobile: r8a7792: basic SoC support")
---
drivers/clk/renesas/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/renesas/Makefile b/drivers/clk/renesas/Makefile
index ead8bb843524..3cdb9aaf8717 100644
--- a/drivers/clk/renesas/Makefile
+++ b/drivers/clk/renesas/Makefile
@@ -6,6 +6,7 @@ obj-$(CONFIG_ARCH_R8A7778) += clk-r8a7778.o
obj-$(CONFIG_ARCH_R8A7779) += clk-r8a7779.o
obj-$(CONFIG_ARCH_R8A7790) += clk-rcar-gen2.o clk-div6.o
obj-$(CONFIG_ARCH_R8A7791) += clk-rcar-gen2.o clk-div6.o
+obj-$(CONFIG_ARCH_R8A7792) += clk-rcar-gen2.o
obj-$(CONFIG_ARCH_R8A7793) += clk-rcar-gen2.o clk-div6.o
obj-$(CONFIG_ARCH_R8A7794) += clk-rcar-gen2.o clk-div6.o
obj-$(CONFIG_ARCH_R8A7795) += r8a7795-cpg-mssr.o
--
2.9.0
[toc] | [next] | [standalone]
| From | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> |
|---|---|
| Date | 2016-06-20 19:50 +0200 |
| Message-ID | <rMbuG-2Oc-25@gated-at.bofh.it> |
| In reply to | #1426719 |
Hello.
On 06/20/2016 06:43 PM, Arnd Bergmann wrote:
> The newly added support for R8A7792 causes build failures
> because we try to call rcar_gen2_clocks_init but that is not
> built into the kernel:
>
> arch/arm/mach-shmobile/built-in.o: In function `rcar_gen2_timer_init':
> :(.init.text+0x3b0): undefined reference to `rcar_gen2_clocks_init'
>
> This changes the clk Makefile to match the other platforms, though
> I guess it would be better to find another way to do this, e.g.
> by not requiring the external function call by relying on
> CLK_OF_DECLARE(), or by making the ARCH_RCAR_GEN2 also control
> the compilation of the clk driver.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: 3ebee0adbfe7 ("ARM: shmobile: r8a7792: basic SoC support")
> ---
> drivers/clk/renesas/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/renesas/Makefile b/drivers/clk/renesas/Makefile
> index ead8bb843524..3cdb9aaf8717 100644
> --- a/drivers/clk/renesas/Makefile
> +++ b/drivers/clk/renesas/Makefile
> @@ -6,6 +6,7 @@ obj-$(CONFIG_ARCH_R8A7778) += clk-r8a7778.o
> obj-$(CONFIG_ARCH_R8A7779) += clk-r8a7779.o
> obj-$(CONFIG_ARCH_R8A7790) += clk-rcar-gen2.o clk-div6.o
> obj-$(CONFIG_ARCH_R8A7791) += clk-rcar-gen2.o clk-div6.o
> +obj-$(CONFIG_ARCH_R8A7792) += clk-rcar-gen2.o
> obj-$(CONFIG_ARCH_R8A7793) += clk-rcar-gen2.o clk-div6.o
> obj-$(CONFIG_ARCH_R8A7794) += clk-rcar-gen2.o clk-div6.o
> obj-$(CONFIG_ARCH_R8A7795) += r8a7795-cpg-mssr.o
It was in the very first patch that I submitted for this SoC:
http://marc.info/?t=146421262300001&r=1
It should be queued up by Geert.
MBR, Sergei
[toc] | [prev] | [next] | [standalone]
| From | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| Date | 2016-06-20 22:30 +0200 |
| Message-ID | <rMdZv-4vT-1@gated-at.bofh.it> |
| In reply to | #1426719 |
Hi Arnd,
On Mon, Jun 20, 2016 at 5:43 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> The newly added support for R8A7792 causes build failures
> because we try to call rcar_gen2_clocks_init but that is not
> built into the kernel:
>
> arch/arm/mach-shmobile/built-in.o: In function `rcar_gen2_timer_init':
> :(.init.text+0x3b0): undefined reference to `rcar_gen2_clocks_init'
>
> This changes the clk Makefile to match the other platforms, though
> I guess it would be better to find another way to do this, e.g.
> by not requiring the external function call by relying on
> CLK_OF_DECLARE(), or by making the ARCH_RCAR_GEN2 also control
> the compilation of the clk driver.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: 3ebee0adbfe7 ("ARM: shmobile: r8a7792: basic SoC support")
> ---
> drivers/clk/renesas/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/renesas/Makefile b/drivers/clk/renesas/Makefile
> index ead8bb843524..3cdb9aaf8717 100644
> --- a/drivers/clk/renesas/Makefile
> +++ b/drivers/clk/renesas/Makefile
> @@ -6,6 +6,7 @@ obj-$(CONFIG_ARCH_R8A7778) += clk-r8a7778.o
> obj-$(CONFIG_ARCH_R8A7779) += clk-r8a7779.o
> obj-$(CONFIG_ARCH_R8A7790) += clk-rcar-gen2.o clk-div6.o
> obj-$(CONFIG_ARCH_R8A7791) += clk-rcar-gen2.o clk-div6.o
> +obj-$(CONFIG_ARCH_R8A7792) += clk-rcar-gen2.o
> obj-$(CONFIG_ARCH_R8A7793) += clk-rcar-gen2.o clk-div6.o
> obj-$(CONFIG_ARCH_R8A7794) += clk-rcar-gen2.o clk-div6.o
> obj-$(CONFIG_ARCH_R8A7795) += r8a7795-cpg-mssr.o
There's already a similar patch in my clk-renesas-for-v4.8 branch.
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web