mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: at91: Compile aic.c for SAMA5D2 only
@ 2024-12-04  9:14 Alexander Shiyan
  2024-12-04  9:23 ` Ahmad Fatoum
  2024-12-06 10:00 ` Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Shiyan @ 2024-12-04  9:14 UTC (permalink / raw)
  To: barebox; +Cc: Alexander Shiyan

at91_aic_redir() is only used for sama5d2 based SOCs.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
 arch/arm/mach-at91/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index 7d7f27749f..ccbe3c425c 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
-obj-y += setup.o aic.o
+obj-y += setup.o
 lwl-y += at91_pmc_ll.o ddramc_ll.o at91sam9_sdramc_ll.o matrix.o
 lwl-$(CONFIG_CLOCKSOURCE_ATMEL_PIT) += early_udelay.o
 
@@ -33,7 +33,7 @@ obj-$(CONFIG_SOC_SAMA5D4)	+= sama5d4.o sama5d4_devices.o
 endif
 lwl-$(CONFIG_SOC_AT91SAM9263)	+= sam9263_ll.o
 lwl-$(CONFIG_SOC_SAMA5D2)	+= sama5d2_ll.o
-obj-$(CONFIG_SOC_SAMA5D2)	+= sama5d2.o
+obj-$(CONFIG_SOC_SAMA5D2)	+= aic.o sama5d2.o
 lwl-$(CONFIG_SOC_SAMA5D3)	+= sama5d3_ll.o
 obj-$(CONFIG_SOC_AT91SAM9G20) += at91sam9260.o at91sam9260_devices.o
 obj-$(CONFIG_SOC_AT91SAM9G45) += at91sam9g45.o at91sam9g45_devices.o
-- 
2.38.2




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

* Re: [PATCH] ARM: at91: Compile aic.c for SAMA5D2 only
  2024-12-04  9:14 [PATCH] ARM: at91: Compile aic.c for SAMA5D2 only Alexander Shiyan
@ 2024-12-04  9:23 ` Ahmad Fatoum
  2024-12-06 10:00 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2024-12-04  9:23 UTC (permalink / raw)
  To: Alexander Shiyan, barebox

On 04.12.24 10:14, Alexander Shiyan wrote:
> at91_aic_redir() is only used for sama5d2 based SOCs.
> 
> Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>

Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>

> ---
>  arch/arm/mach-at91/Makefile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
> index 7d7f27749f..ccbe3c425c 100644
> --- a/arch/arm/mach-at91/Makefile
> +++ b/arch/arm/mach-at91/Makefile
> @@ -1,6 +1,6 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  
> -obj-y += setup.o aic.o
> +obj-y += setup.o
>  lwl-y += at91_pmc_ll.o ddramc_ll.o at91sam9_sdramc_ll.o matrix.o
>  lwl-$(CONFIG_CLOCKSOURCE_ATMEL_PIT) += early_udelay.o
>  
> @@ -33,7 +33,7 @@ obj-$(CONFIG_SOC_SAMA5D4)	+= sama5d4.o sama5d4_devices.o
>  endif
>  lwl-$(CONFIG_SOC_AT91SAM9263)	+= sam9263_ll.o
>  lwl-$(CONFIG_SOC_SAMA5D2)	+= sama5d2_ll.o
> -obj-$(CONFIG_SOC_SAMA5D2)	+= sama5d2.o
> +obj-$(CONFIG_SOC_SAMA5D2)	+= aic.o sama5d2.o
>  lwl-$(CONFIG_SOC_SAMA5D3)	+= sama5d3_ll.o
>  obj-$(CONFIG_SOC_AT91SAM9G20) += at91sam9260.o at91sam9260_devices.o
>  obj-$(CONFIG_SOC_AT91SAM9G45) += at91sam9g45.o at91sam9g45_devices.o


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

* Re: [PATCH] ARM: at91: Compile aic.c for SAMA5D2 only
  2024-12-04  9:14 [PATCH] ARM: at91: Compile aic.c for SAMA5D2 only Alexander Shiyan
  2024-12-04  9:23 ` Ahmad Fatoum
@ 2024-12-06 10:00 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2024-12-06 10:00 UTC (permalink / raw)
  To: barebox, Alexander Shiyan


On Wed, 04 Dec 2024 12:14:18 +0300, Alexander Shiyan wrote:
> at91_aic_redir() is only used for sama5d2 based SOCs.
> 
> 

Applied, thanks!

[1/1] ARM: at91: Compile aic.c for SAMA5D2 only
      https://git.pengutronix.de/cgit/barebox/commit/?id=bbed579e9f90 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2024-12-06 10:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-04  9:14 [PATCH] ARM: at91: Compile aic.c for SAMA5D2 only Alexander Shiyan
2024-12-04  9:23 ` Ahmad Fatoum
2024-12-06 10:00 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox