[PATCH v1] drivers: fpga: Enable SOC64 support, remove Agilex/Stratix10 checks for FPGA bridge
Chen Huei Lok
chen.huei.lok at altera.com
Thu Feb 5 02:58:23 CET 2026
From: drosdi <danish.ahmad.rosdi at altera.com>
Replace the conditional compilation checks for Agilex and Stratix10
with a check for SOC64 in `drivers/fpga/altera.c`.
Signed-off-by: drosdi <danish.ahmad.rosdi at altera.com>
Signed-off-by: Chen Huei Lok <chen.huei.lok at altera.com>
---
drivers/fpga/altera.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/fpga/altera.c b/drivers/fpga/altera.c
index 4a9aa74357e..246df72cb89 100644
--- a/drivers/fpga/altera.c
+++ b/drivers/fpga/altera.c
@@ -12,8 +12,7 @@
/*
* Altera FPGA support
*/
-#if IS_ENABLED(CONFIG_TARGET_SOCFPGA_AGILEX) || \
- IS_ENABLED(CONFIG_TARGET_SOCFPGA_STRATIX10)
+#if IS_ENABLED(CONFIG_TARGET_SOCFPGA_SOC64)
#include <asm/arch/misc.h>
#endif
#include <errno.h>
@@ -48,8 +47,7 @@ static const struct altera_fpga {
#endif
};
-#if IS_ENABLED(CONFIG_TARGET_SOCFPGA_AGILEX) || \
- IS_ENABLED(CONFIG_TARGET_SOCFPGA_STRATIX10)
+#if IS_ENABLED(CONFIG_TARGET_SOCFPGA_SOC64)
int fpga_is_partial_data(int devnum, size_t img_len)
{
/*
--
2.43.7
More information about the U-Boot
mailing list