From: Michal Simek <michal.simek@amd.com>
To: Chen Huei Lok <chen.huei.lok@altera.com>, u-boot@lists.denx.de
Cc: Alexander Dahl <ada@thorsis.com>, Tom Rini <trini@konsulko.com>,
Tien Fong Chee <tien.fong.chee@altera.com>,
Danish Ahmad Rosdi <danish.ahmad.rosdi@altera.com>,
Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>,
Dinesh Maniyam <dinesh.maniyam@altera.com>,
Boon Khai Ng <boon.khai.ng@altera.com>,
Kok Kiang Hea <kok.kiang.hea@altera.com>
Subject: Re: [PATCH v5] drivers: fpga: Use FPGA_INTEL_SDM_MAILBOX conditional instead of Agilex/Stratix10
Date: Tue, 23 Jun 2026 16:08:28 +0200 [thread overview]
Message-ID: <f6ac3655-c6da-4daf-b6f4-73fe41ed4c01@amd.com> (raw)
In-Reply-To: <20260608094547.3026-1-chen.huei.lok@altera.com>
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
prev parent reply other threads:[~2026-06-23 14:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6ac3655-c6da-4daf-b6f4-73fe41ed4c01@amd.com \
--to=michal.simek@amd.com \
--cc=ada@thorsis.com \
--cc=alif.zakuan.yuslaimi@altera.com \
--cc=boon.khai.ng@altera.com \
--cc=chen.huei.lok@altera.com \
--cc=danish.ahmad.rosdi@altera.com \
--cc=dinesh.maniyam@altera.com \
--cc=kok.kiang.hea@altera.com \
--cc=tien.fong.chee@altera.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox