diff mbox series

[v1,3/3] arm: socfpga: agilex: Enable FPGA Full Reconfiguration support

Message ID 20200807035005.73459-4-chee.hong.ang@intel.com
State New
Delegated to: Simon Goldschmidt
Headers show
Series Rename Stratix10 FPGA driver and support Agilex | expand

Commit Message

Ang, Chee Hong Aug. 7, 2020, 3:50 a.m. UTC
Enable FPGA full reconfiguration support with Intel FPGA SDM
Mailbox driver for Agilex.

Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
---
 arch/arm/mach-socfpga/Kconfig | 1 +
 drivers/fpga/Kconfig          | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Comments

Tan, Ley Foon Aug. 11, 2020, 2:06 a.m. UTC | #1
> -----Original Message-----
> From: Ang, Chee Hong <chee.hong.ang@intel.com>
> Sent: Friday, August 7, 2020 11:50 AM
> To: u-boot@lists.denx.de
> Cc: Marek Vasut <marex@denx.de>; Simon Goldschmidt
> <simon.k.r.goldschmidt@gmail.com>; Tom Rini <trini@konsulko.com>; See,
> Chin Liang <chin.liang.see@intel.com>; Tan, Ley Foon
> <ley.foon.tan@intel.com>; Ang, Chee Hong <chee.hong.ang@intel.com>;
> Chee, Tien Fong <tien.fong.chee@intel.com>; Lim, Elly Siew Chin
> <elly.siew.chin.lim@intel.com>
> Subject: [PATCH v1 3/3] arm: socfpga: agilex: Enable FPGA Full
> Reconfiguration support
> 
> Enable FPGA full reconfiguration support with Intel FPGA SDM Mailbox driver
> for Agilex.
> 
> Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
> ---
>  arch/arm/mach-socfpga/Kconfig | 1 +
>  drivers/fpga/Kconfig          | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-
> socfpga/Kconfig index 32549913cc..26f2cf8e47 100644
> --- a/arch/arm/mach-socfpga/Kconfig
> +++ b/arch/arm/mach-socfpga/Kconfig
> @@ -35,6 +35,7 @@ config TARGET_SOCFPGA_AGILEX
>  	select ARMV8_SET_SMPEN
>  	select ARMV8_SPIN_TABLE
>  	select CLK
> +	select FPGA_INTEL_SDM_MAILBOX
>  	select NCORE_CACHE
>  	select SPL_CLK if SPL
> 
> diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index
> dd0b39a8d1..425b52a926 100644
> --- a/drivers/fpga/Kconfig
> +++ b/drivers/fpga/Kconfig
> @@ -33,7 +33,7 @@ config FPGA_CYCLON2
> 
>  config FPGA_INTEL_SDM_MAILBOX
>  	bool "Enable Intel FPGA Full Reconfiguration SDM Mailbox driver"
> -	depends on TARGET_SOCFPGA_STRATIX10
> +	depends on TARGET_SOCFPGA_STRATIX10 ||
> TARGET_SOCFPGA_AGILEX
>  	select FPGA_ALTERA
>  	help
>  	  Say Y here to enable the Intel FPGA Full Reconfig SDM Mailbox
> driver
> --

Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>

Regards
Ley Foon
diff mbox series

Patch

diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 32549913cc..26f2cf8e47 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -35,6 +35,7 @@  config TARGET_SOCFPGA_AGILEX
 	select ARMV8_SET_SMPEN
 	select ARMV8_SPIN_TABLE
 	select CLK
+	select FPGA_INTEL_SDM_MAILBOX
 	select NCORE_CACHE
 	select SPL_CLK if SPL
 
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index dd0b39a8d1..425b52a926 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
@@ -33,7 +33,7 @@  config FPGA_CYCLON2
 
 config FPGA_INTEL_SDM_MAILBOX
 	bool "Enable Intel FPGA Full Reconfiguration SDM Mailbox driver"
-	depends on TARGET_SOCFPGA_STRATIX10
+	depends on TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
 	select FPGA_ALTERA
 	help
 	  Say Y here to enable the Intel FPGA Full Reconfig SDM Mailbox driver