U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cache: Update dependency for ANDES_L2_CACHE
@ 2025-07-02  1:04 Tom Rini
  2025-07-03  6:27 ` Leo Liang
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2025-07-02  1:04 UTC (permalink / raw)
  To: u-boot

The cache driver here can only build on RISCV due to header
dependencies. Express that requirement in Kconfig as well.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 drivers/cache/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cache/Kconfig b/drivers/cache/Kconfig
index 4f3586574445..f5bcd406a505 100644
--- a/drivers/cache/Kconfig
+++ b/drivers/cache/Kconfig
@@ -24,6 +24,7 @@ config L2X0_CACHE
 
 config ANDES_L2_CACHE
 	bool "Andes L2 cache driver"
+	depends on RISCV
 	select CACHE
 	help
 	  Support Andes L2 cache controller in AE350 platform.
-- 
2.43.0


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

* Re: [PATCH] cache: Update dependency for ANDES_L2_CACHE
  2025-07-02  1:04 [PATCH] cache: Update dependency for ANDES_L2_CACHE Tom Rini
@ 2025-07-03  6:27 ` Leo Liang
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Liang @ 2025-07-03  6:27 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot

On Tue, Jul 01, 2025 at 07:04:26PM -0600, Tom Rini wrote:
> The cache driver here can only build on RISCV due to header
> dependencies. Express that requirement in Kconfig as well.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  drivers/cache/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>

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

end of thread, other threads:[~2025-07-03  6:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-02  1:04 [PATCH] cache: Update dependency for ANDES_L2_CACHE Tom Rini
2025-07-03  6:27 ` Leo Liang

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