diff mbox series

[U-Boot,v5,04/19] arm: socfpga: agilex: Add reset manager support

Message ID 1570787542-40896-5-git-send-email-ley.foon.tan@intel.com
State Superseded
Delegated to: Simon Goldschmidt
Headers show
Series Add Intel Agilex SoC support | expand

Commit Message

Ley Foon Tan Oct. 11, 2019, 9:52 a.m. UTC
Add reset manager support for Agilex.

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

---
v5:
- Remove reset_reset_manager_agilex.h and use reset_manager_soc64.h.

v3:
- Add reset_manager_soc64.h
- Convert to use defines instead of struct.
---
 arch/arm/mach-socfpga/include/mach/reset_manager.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Simon Goldschmidt Oct. 22, 2019, 6:26 p.m. UTC | #1
Am 11.10.2019 um 11:52 schrieb Ley Foon Tan:
> Add reset manager support for Agilex.
> 
> Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>

Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>

> 
> ---
> v5:
> - Remove reset_reset_manager_agilex.h and use reset_manager_soc64.h.
> 
> v3:
> - Add reset_manager_soc64.h
> - Convert to use defines instead of struct.
> ---
>   arch/arm/mach-socfpga/include/mach/reset_manager.h | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-socfpga/include/mach/reset_manager.h b/arch/arm/mach-socfpga/include/mach/reset_manager.h
> index b077b077f8..2c83563d5e 100644
> --- a/arch/arm/mach-socfpga/include/mach/reset_manager.h
> +++ b/arch/arm/mach-socfpga/include/mach/reset_manager.h
> @@ -43,7 +43,8 @@ void socfpga_per_reset_all(void);
>   #include <asm/arch/reset_manager_gen5.h>
>   #elif defined(CONFIG_TARGET_SOCFPGA_ARRIA10)
>   #include <asm/arch/reset_manager_arria10.h>
> -#elif defined(CONFIG_TARGET_SOCFPGA_STRATIX10)
> +#elif defined(CONFIG_TARGET_SOCFPGA_STRATIX10) || \
> +	defined(CONFIG_TARGET_SOCFPGA_AGILEX)
>   #include <asm/arch/reset_manager_soc64.h>
>   #endif
>   
>
diff mbox series

Patch

diff --git a/arch/arm/mach-socfpga/include/mach/reset_manager.h b/arch/arm/mach-socfpga/include/mach/reset_manager.h
index b077b077f8..2c83563d5e 100644
--- a/arch/arm/mach-socfpga/include/mach/reset_manager.h
+++ b/arch/arm/mach-socfpga/include/mach/reset_manager.h
@@ -43,7 +43,8 @@  void socfpga_per_reset_all(void);
 #include <asm/arch/reset_manager_gen5.h>
 #elif defined(CONFIG_TARGET_SOCFPGA_ARRIA10)
 #include <asm/arch/reset_manager_arria10.h>
-#elif defined(CONFIG_TARGET_SOCFPGA_STRATIX10)
+#elif defined(CONFIG_TARGET_SOCFPGA_STRATIX10) || \
+	defined(CONFIG_TARGET_SOCFPGA_AGILEX)
 #include <asm/arch/reset_manager_soc64.h>
 #endif