* [PATCH v4] drivers: fpga: Use FPGA_INTEL_SDM_MAILBOX conditional instead of Agilex/Stratix10
@ 2026-04-28 5:30 Chen Huei Lok
2026-06-08 1:19 ` LOK, CHEN HUEI
2026-06-08 9:45 ` [PATCH v5] " Chen Huei Lok
0 siblings, 2 replies; 6+ messages in thread
From: Chen Huei Lok @ 2026-04-28 5:30 UTC (permalink / raw)
To: u-boot
Cc: Michal Simek, Alexander Dahl, Tom Rini, Tien Fong Chee,
Chen Huei Lok, Alif Zakuan Yuslaimi, Dinesh Maniyam, Boon Khai Ng,
Kok Kiang Hea, drosdi
From: drosdi <danish.ahmad.rosdi@altera.com>
Replace the conditional compilation checks for
CONFIG_ARCH_SOCFPGA_AGILEX and CONFIG_ARCH_SOCFPGA_STRATIX10 with
CONFIG_FPGA_INTEL_SDM_MAILBOX.
Signed-off-by: drosdi <danish.ahmad.rosdi@altera.com>
Signed-off-by: Chen Huei Lok <chen.huei.lok@altera.com>
---
v3->v4:
--------
Replace conditional check with CONFIG_FPGA_INTEL_SDM_MAILBOX.
History:
--------
https://patchwork.ozlabs.org/project/uboot/patch/20260414090350.34455-1-chen.huei.lok@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 822183c5785..xxxxxxx 100644
--- a/drivers/fpga/altera.c
+++ b/drivers/fpga/altera.c
@@ -12,8 +12,7 @@
/*
* Altera FPGA support
*/
-#if IS_ENABLED(CONFIG_ARCH_SOCFPGA_AGILEX) || \
- IS_ENABLED(CONFIG_ARCH_SOCFPGA_STRATIX10)
+#if IS_ENABLED(CONFIG_FPGA_INTEL_SDM_MAILBOX)
#include <asm/arch/misc.h>
#endif
#include <errno.h>
@@ -48,8 +47,7 @@ static const struct altera_fpga {
#endif
};
-#if IS_ENABLED(CONFIG_ARCH_SOCFPGA_AGILEX) || \
- IS_ENABLED(CONFIG_ARCH_SOCFPGA_STRATIX10)
+#if IS_ENABLED(CONFIG_FPGA_INTEL_SDM_MAILBOX)
int fpga_is_partial_data(int devnum, size_t img_len)
{
/*
--
2.43.7
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH v4] drivers: fpga: Use FPGA_INTEL_SDM_MAILBOX conditional instead of Agilex/Stratix10
2026-04-28 5:30 [PATCH v4] drivers: fpga: Use FPGA_INTEL_SDM_MAILBOX conditional instead of Agilex/Stratix10 Chen Huei Lok
@ 2026-06-08 1:19 ` LOK, CHEN HUEI
2026-06-08 8:34 ` Michal Simek
2026-06-08 9:45 ` [PATCH v5] " Chen Huei Lok
1 sibling, 1 reply; 6+ messages in thread
From: LOK, CHEN HUEI @ 2026-06-08 1:19 UTC (permalink / raw)
To: u-boot@lists.denx.de
Cc: Michal Simek, Alexander Dahl, Tom Rini, Chee, Tien Fong,
YUSLAIMI, ALIF ZAKUAN, MANIYAM, DINESH, NG, BOON KHAI,
Hea, Kok Kiang, Rosdi, Danish Ahmad, LOK, CHEN HUEI
Hi Michal,
Following up on this v4 -- this addresses Tien Fong's review from v3
by switching to CONFIG_FPGA_INTEL_SDM_MAILBOX as the conditional
instead of the per-SoC arch checks.
> Replace the conditional compilation checks for
> CONFIG_ARCH_SOCFPGA_AGILEX and CONFIG_ARCH_SOCFPGA_STRATIX10 with
> CONFIG_FPGA_INTEL_SDM_MAILBOX.
>
> Signed-off-by: drosdi <danish.ahmad.rosdi@altera.com>
> Signed-off-by: Chen Huei Lok <chen.huei.lok@altera.com>
> ---
> v3->v4:
> --------
> Replace conditional check with CONFIG_FPGA_INTEL_SDM_MAILBOX.
Tien Fong, could you provide your Reviewed-by if this looks correct
to you?
Thanks,
Lok
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v4] drivers: fpga: Use FPGA_INTEL_SDM_MAILBOX conditional instead of Agilex/Stratix10
2026-06-08 1:19 ` LOK, CHEN HUEI
@ 2026-06-08 8:34 ` Michal Simek
2026-06-08 9:37 ` LOK, CHEN HUEI
0 siblings, 1 reply; 6+ messages in thread
From: Michal Simek @ 2026-06-08 8:34 UTC (permalink / raw)
To: LOK, CHEN HUEI, u-boot@lists.denx.de
Cc: Alexander Dahl, Tom Rini, Chee, Tien Fong, YUSLAIMI, ALIF ZAKUAN,
MANIYAM, DINESH, NG, BOON KHAI, Hea, Kok Kiang,
Rosdi, Danish Ahmad
On 6/8/26 03:19, LOK, CHEN HUEI wrote:
> Hi Michal,
>
> Following up on this v4 -- this addresses Tien Fong's review from v3
> by switching to CONFIG_FPGA_INTEL_SDM_MAILBOX as the conditional
> instead of the per-SoC arch checks.
>
>> Replace the conditional compilation checks for
>> CONFIG_ARCH_SOCFPGA_AGILEX and CONFIG_ARCH_SOCFPGA_STRATIX10 with
>> CONFIG_FPGA_INTEL_SDM_MAILBOX.
>>
>> Signed-off-by: drosdi <danish.ahmad.rosdi@altera.com>
Obviously this is wrong name. Please fix it too.
Thanks,
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v4] drivers: fpga: Use FPGA_INTEL_SDM_MAILBOX conditional instead of Agilex/Stratix10
2026-06-08 8:34 ` Michal Simek
@ 2026-06-08 9:37 ` LOK, CHEN HUEI
0 siblings, 0 replies; 6+ messages in thread
From: LOK, CHEN HUEI @ 2026-06-08 9:37 UTC (permalink / raw)
To: Michal Simek, u-boot@lists.denx.de
Cc: Alexander Dahl, Tom Rini, Chee, Tien Fong, YUSLAIMI, ALIF ZAKUAN,
MANIYAM, DINESH, NG, BOON KHAI, Hea, Kok Kiang,
Rosdi, Danish Ahmad, LOK, CHEN HUEI
Hi Michal,
On 6/8/26 16:34, Michal Simek wrote:
> On 6/8/26 03:19, LOK, CHEN HUEI wrote:
>> Hi Michal,
>>
>> Following up on this v4 -- this addresses Tien Fong's review from v3
>> by switching to CONFIG_FPGA_INTEL_SDM_MAILBOX as the conditional
>> instead of the per-SoC arch checks.
>>
>>> Replace the conditional compilation checks for
>>> CONFIG_ARCH_SOCFPGA_AGILEX and CONFIG_ARCH_SOCFPGA_STRATIX10 with
>>> CONFIG_FPGA_INTEL_SDM_MAILBOX.
>>>
>>> Signed-off-by: drosdi <danish.ahmad.rosdi@altera.com>
>
> Obviously this is wrong name. Please fix it too.
Sure. Will fix the Signed-off-by to use the real full name in v5.
Thanks,
Lok
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v5] drivers: fpga: Use FPGA_INTEL_SDM_MAILBOX conditional instead of Agilex/Stratix10
2026-04-28 5:30 [PATCH v4] drivers: fpga: Use FPGA_INTEL_SDM_MAILBOX conditional instead of Agilex/Stratix10 Chen Huei Lok
2026-06-08 1:19 ` LOK, CHEN HUEI
@ 2026-06-08 9:45 ` Chen Huei Lok
2026-06-23 14:08 ` Michal Simek
1 sibling, 1 reply; 6+ messages in thread
From: Chen Huei Lok @ 2026-06-08 9:45 UTC (permalink / raw)
To: u-boot
Cc: Michal Simek, Alexander Dahl, Tom Rini, Tien Fong Chee,
Chen Huei Lok, Danish Ahmad Rosdi, Alif Zakuan Yuslaimi,
Dinesh Maniyam, Boon Khai Ng, Kok Kiang Hea
From: Danish Ahmad Rosdi <danish.ahmad.rosdi@altera.com>
Replace the conditional compilation checks for
CONFIG_ARCH_SOCFPGA_AGILEX and CONFIG_ARCH_SOCFPGA_STRATIX10 with
CONFIG_FPGA_INTEL_SDM_MAILBOX.
Signed-off-by: Danish Ahmad Rosdi <danish.ahmad.rosdi@altera.com>
Signed-off-by: Chen Huei Lok <chen.huei.lok@altera.com>
---
v4->v5:
--------
Fix Signed-off-by to use real full name.
v3->v4:
--------
Replace conditional check with CONFIG_FPGA_INTEL_SDM_MAILBOX.
History:
--------
https://patchwork.ozlabs.org/project/uboot/patch/20260428053030.19532-1-chen.huei.lok@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 822183c5785..xxxxxxx 100644
--- a/drivers/fpga/altera.c
+++ b/drivers/fpga/altera.c
@@ -12,8 +12,7 @@
/*
* Altera FPGA support
*/
-#if IS_ENABLED(CONFIG_ARCH_SOCFPGA_AGILEX) || \
- IS_ENABLED(CONFIG_ARCH_SOCFPGA_STRATIX10)
+#if IS_ENABLED(CONFIG_FPGA_INTEL_SDM_MAILBOX)
#include <asm/arch/misc.h>
#endif
#include <errno.h>
@@ -48,8 +47,7 @@ static const struct altera_fpga {
#endif
};
-#if IS_ENABLED(CONFIG_ARCH_SOCFPGA_AGILEX) || \
- IS_ENABLED(CONFIG_ARCH_SOCFPGA_STRATIX10)
+#if IS_ENABLED(CONFIG_FPGA_INTEL_SDM_MAILBOX)
int fpga_is_partial_data(int devnum, size_t img_len)
{
/*
--
2.43.7
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH v5] drivers: fpga: Use FPGA_INTEL_SDM_MAILBOX conditional instead of Agilex/Stratix10
2026-06-08 9:45 ` [PATCH v5] " Chen Huei Lok
@ 2026-06-23 14:08 ` Michal Simek
0 siblings, 0 replies; 6+ messages in thread
From: Michal Simek @ 2026-06-23 14:08 UTC (permalink / raw)
To: Chen Huei Lok, u-boot
Cc: Alexander Dahl, Tom Rini, Tien Fong Chee, Danish Ahmad Rosdi,
Alif Zakuan Yuslaimi, Dinesh Maniyam, Boon Khai Ng, Kok Kiang Hea
On 6/8/26 11:45, Chen Huei Lok wrote:
> From: Danish Ahmad Rosdi <danish.ahmad.rosdi@altera.com>
>
> Replace the conditional compilation checks for
> CONFIG_ARCH_SOCFPGA_AGILEX and CONFIG_ARCH_SOCFPGA_STRATIX10 with
> CONFIG_FPGA_INTEL_SDM_MAILBOX.
>
> Signed-off-by: Danish Ahmad Rosdi <danish.ahmad.rosdi@altera.com>
> Signed-off-by: Chen Huei Lok <chen.huei.lok@altera.com>
> ---
> v4->v5:
> --------
> Fix Signed-off-by to use real full name.
>
> v3->v4:
> --------
> Replace conditional check with CONFIG_FPGA_INTEL_SDM_MAILBOX.
>
> History:
> --------
> https://patchwork.ozlabs.org/project/uboot/patch/20260428053030.19532-1-chen.huei.lok@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 822183c5785..xxxxxxx 100644
> --- a/drivers/fpga/altera.c
> +++ b/drivers/fpga/altera.c
> @@ -12,8 +12,7 @@
> /*
> * Altera FPGA support
> */
> -#if IS_ENABLED(CONFIG_ARCH_SOCFPGA_AGILEX) || \
> - IS_ENABLED(CONFIG_ARCH_SOCFPGA_STRATIX10)
> +#if IS_ENABLED(CONFIG_FPGA_INTEL_SDM_MAILBOX)
> #include <asm/arch/misc.h>
> #endif
> #include <errno.h>
> @@ -48,8 +47,7 @@ static const struct altera_fpga {
> #endif
> };
>
> -#if IS_ENABLED(CONFIG_ARCH_SOCFPGA_AGILEX) || \
> - IS_ENABLED(CONFIG_ARCH_SOCFPGA_STRATIX10)
> +#if IS_ENABLED(CONFIG_FPGA_INTEL_SDM_MAILBOX)
> int fpga_is_partial_data(int devnum, size_t img_len)
> {
> /*
> --
> 2.43.7
Applied.
M
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-06-23 14:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 5:30 [PATCH v4] drivers: fpga: Use FPGA_INTEL_SDM_MAILBOX conditional instead of Agilex/Stratix10 Chen Huei Lok
2026-06-08 1:19 ` LOK, CHEN HUEI
2026-06-08 8:34 ` Michal Simek
2026-06-08 9:37 ` LOK, CHEN HUEI
2026-06-08 9:45 ` [PATCH v5] " Chen Huei Lok
2026-06-23 14:08 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox