> -----Original Message-----
> From: Yuslaimi, Alif Zakuan <alif.zakuan.yusla...@altera.com>
> Sent: Friday, August 29, 2025 11:43 AM
> To: u-boot@lists.denx.de
> Cc: Marek Vasut <marek.vasut+rene...@mailbox.org>; Simon Goldschmidt
> <simon.k.r.goldschm...@gmail.com>; Chee, Tien Fong
> <tien.fong.c...@altera.com>; Tom Rini <tr...@konsulko.com>; Yuslaimi, Alif
> Zakuan <alif.zakuan.yusla...@altera.com>
> Subject: [PATCH v1] arm: socfpga: Define Use FPGA switch handoff section
> size for Agilex5
> 
> From: Alif Zakuan Yuslaimi <alif.zakuan.yusla...@altera.com>
> 
> Agilex5 FPGA switch section in the handoff data is larger by 32 bytes than the
> default value as these extra sections contains I3C0 and I3C1 register offsets
> and values with 4 bytes each.
> 
> This requires 4 more times of reading the FPGA switch section of the handoff
> data to fully populate the handoff data table in the memory during runtime.
> 
> Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yusla...@altera.com>
> ---
>  arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/mach-socfpga/include/mach/handoff_soc64.h
> b/arch/arm/mach-socfpga/include/mach/handoff_soc64.h
> index 9ef82cf46c0..b8f2f73e283 100644
> --- a/arch/arm/mach-socfpga/include/mach/handoff_soc64.h
> +++ b/arch/arm/mach-socfpga/include/mach/handoff_soc64.h
> @@ -98,6 +98,8 @@
>  #define SOC64_HANDOFF_IOCTL_LEN                      96
>  #if IS_ENABLED(CONFIG_TARGET_SOCFPGA_STRATIX10)
>  #define SOC64_HANDOFF_FPGA_LEN                       42
> +#elif IS_ENABLED(CONFIG_TARGET_SOCFPGA_AGILEX5)
> +#define SOC64_HANDOFF_FPGA_LEN                       44
>  #else
>  #define SOC64_HANDOFF_FPGA_LEN                       40
>  #endif
> --
> 2.35.3

Reviewed-by: Tien Fong Chee <tien.fong.c...@altera.com>

Best regards,
Tien Fong

Reply via email to