linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI
@ 2018-09-09 19:04 Paul Kocialkowski
  2018-09-10  8:30 ` Chen-Yu Tsai
  2018-09-10 11:43 ` Maxime Ripard
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Kocialkowski @ 2018-09-09 19:04 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel
  Cc: linux-sunxi, Chen-Yu Tsai, Maxime Ripard, Hans Verkuil,
	Paul Kocialkowski

This makes it possible to build the sunxi SRAM driver without building
for the sunxi architecture. This allows selecting the driver when
building the kernel in testing environments.

In particular, this is necessary for testing of the Cedrus driver, that
selects the sunxi SRAM driver.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
 drivers/soc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile
index 113e884697fd..446166ba0bec 100644
--- a/drivers/soc/Makefile
+++ b/drivers/soc/Makefile
@@ -18,7 +18,7 @@ obj-y				+= qcom/
 obj-y				+= renesas/
 obj-$(CONFIG_ARCH_ROCKCHIP)	+= rockchip/
 obj-$(CONFIG_SOC_SAMSUNG)	+= samsung/
-obj-$(CONFIG_ARCH_SUNXI)	+= sunxi/
+obj-y				+= sunxi/
 obj-$(CONFIG_ARCH_TEGRA)	+= tegra/
 obj-$(CONFIG_SOC_TI)		+= ti/
 obj-$(CONFIG_ARCH_U8500)	+= ux500/
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI
  2018-09-09 19:04 [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI Paul Kocialkowski
@ 2018-09-10  8:30 ` Chen-Yu Tsai
  2018-09-10 11:43 ` Maxime Ripard
  1 sibling, 0 replies; 4+ messages in thread
From: Chen-Yu Tsai @ 2018-09-10  8:30 UTC (permalink / raw)
  To: Hans Verkuil
  Cc: linux-kernel, linux-arm-kernel, linux-sunxi, Maxime Ripard,
	Paul Kocialkowski

Hi Hans,

On Mon, Sep 10, 2018 at 3:04 AM Paul Kocialkowski <contact@paulk.fr> wrote:
>
> This makes it possible to build the sunxi SRAM driver without building
> for the sunxi architecture. This allows selecting the driver when
> building the kernel in testing environments.
>
> In particular, this is necessary for testing of the Cedrus driver, that
> selects the sunxi SRAM driver.
>
> Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
> ---
>  drivers/soc/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile
> index 113e884697fd..446166ba0bec 100644
> --- a/drivers/soc/Makefile
> +++ b/drivers/soc/Makefile
> @@ -18,7 +18,7 @@ obj-y                         += qcom/
>  obj-y                          += renesas/
>  obj-$(CONFIG_ARCH_ROCKCHIP)    += rockchip/
>  obj-$(CONFIG_SOC_SAMSUNG)      += samsung/
> -obj-$(CONFIG_ARCH_SUNXI)       += sunxi/
> +obj-y                          += sunxi/
>  obj-$(CONFIG_ARCH_TEGRA)       += tegra/
>  obj-$(CONFIG_SOC_TI)           += ti/
>  obj-$(CONFIG_ARCH_U8500)       += ux500/
> --
> 2.18.0
>

Do you want us to merge this on an immutable tag for you to pull?

ChenYu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI
  2018-09-09 19:04 [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI Paul Kocialkowski
  2018-09-10  8:30 ` Chen-Yu Tsai
@ 2018-09-10 11:43 ` Maxime Ripard
  2018-09-12 14:53   ` Chen-Yu Tsai
  1 sibling, 1 reply; 4+ messages in thread
From: Maxime Ripard @ 2018-09-10 11:43 UTC (permalink / raw)
  To: Paul Kocialkowski
  Cc: linux-kernel, linux-arm-kernel, linux-sunxi, Chen-Yu Tsai, Hans Verkuil

[-- Attachment #1: Type: text/plain, Size: 587 bytes --]

On Sun, Sep 09, 2018 at 09:04:39PM +0200, Paul Kocialkowski wrote:
> This makes it possible to build the sunxi SRAM driver without building
> for the sunxi architecture. This allows selecting the driver when
> building the kernel in testing environments.
> 
> In particular, this is necessary for testing of the Cedrus driver, that
> selects the sunxi SRAM driver.
> 
> Signed-off-by: Paul Kocialkowski <contact@paulk.fr>

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>

Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI
  2018-09-10 11:43 ` Maxime Ripard
@ 2018-09-12 14:53   ` Chen-Yu Tsai
  0 siblings, 0 replies; 4+ messages in thread
From: Chen-Yu Tsai @ 2018-09-12 14:53 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: Paul Kocialkowski, linux-kernel, linux-arm-kernel, linux-sunxi,
	Hans Verkuil

On Mon, Sep 10, 2018 at 7:43 PM Maxime Ripard <maxime.ripard@bootlin.com> wrote:
>
> On Sun, Sep 09, 2018 at 09:04:39PM +0200, Paul Kocialkowski wrote:
> > This makes it possible to build the sunxi SRAM driver without building
> > for the sunxi architecture. This allows selecting the driver when
> > building the kernel in testing environments.
> >
> > In particular, this is necessary for testing of the Cedrus driver, that
> > selects the sunxi SRAM driver.
> >
> > Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
>
> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>

Applied for 4.20.

ChenYu

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-12 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-09 19:04 [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI Paul Kocialkowski
2018-09-10  8:30 ` Chen-Yu Tsai
2018-09-10 11:43 ` Maxime Ripard
2018-09-12 14:53   ` Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).