drivers: soc: Allow building the sunxi driver without ARCH_SUNXI
PATCH RESEND 1/1 drivers: soc: Allow building the sunxi driver without ARCH_SUNXI
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.
--- drivers/soc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/Makefile +1 -1
@@ -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/
Signature · 1 line
2.18.0
Hi Hans,
Quoted 27 lines · 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 <[email protected]>--- drivers/soc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/soc/Makefile +1
-2@@ -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/ --
Quoted 2 lines
2.18.0
Do you want us to merge this on an immutable tag for you to pull?
ChenYu
Quoted 8 lines · 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 <[email protected]>
Maxime
Signature · 10 lines
Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180910/9568d060/attachment.sig>
Quoted 6 lines · Maxime Ripard
Quoted 4 lines · 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.
Quoted 6 lines
Quoted 4 lines
In particular, this is necessary for testing of the Cedrus driver, that selects the sunxi SRAM driver.
Signed-off-by Paul Kocialkowski <[email protected]>Acked-by Maxime Ripard <[email protected]>
Applied for 4.20.
ChenYu