Message ID | 1570787542-40896-7-git-send-email-ley.foon.tan@intel.com |
---|---|
State | Superseded |
Delegated to: | Simon Goldschmidt |
Headers | show |
Series | Add Intel Agilex SoC support | expand |
Am 11.10.2019 um 11:52 schrieb Ley Foon Tan: > Add system 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 system_manager_agilex.h and use system_manager_soc64.h directly. > > v3: > - Change include filename to system_manager_soc64.h. > - Move to use defines instead of struct. > > v2: > - Include system_manager_s10_agilex_common.h in system_manager_agilex.h > --- > arch/arm/mach-socfpga/include/mach/system_manager.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-socfpga/include/mach/system_manager.h b/arch/arm/mach-socfpga/include/mach/system_manager.h > index 7ab66e7fc9..a201dec274 100644 > --- a/arch/arm/mach-socfpga/include/mach/system_manager.h > +++ b/arch/arm/mach-socfpga/include/mach/system_manager.h > @@ -8,7 +8,8 @@ > > extern phys_addr_t socfpga_sysmgr_base; > > -#if defined(CONFIG_TARGET_SOCFPGA_STRATIX10) > +#if defined(CONFIG_TARGET_SOCFPGA_STRATIX10) || \ > + defined(CONFIG_TARGET_SOCFPGA_AGILEX) > #include <asm/arch/system_manager_soc64.h> > #else > #define SYSMGR_ROMCODEGRP_CTRL_WARMRSTCFGPINMUX BIT(0) >
diff --git a/arch/arm/mach-socfpga/include/mach/system_manager.h b/arch/arm/mach-socfpga/include/mach/system_manager.h index 7ab66e7fc9..a201dec274 100644 --- a/arch/arm/mach-socfpga/include/mach/system_manager.h +++ b/arch/arm/mach-socfpga/include/mach/system_manager.h @@ -8,7 +8,8 @@ extern phys_addr_t socfpga_sysmgr_base; -#if defined(CONFIG_TARGET_SOCFPGA_STRATIX10) +#if defined(CONFIG_TARGET_SOCFPGA_STRATIX10) || \ + defined(CONFIG_TARGET_SOCFPGA_AGILEX) #include <asm/arch/system_manager_soc64.h> #else #define SYSMGR_ROMCODEGRP_CTRL_WARMRSTCFGPINMUX BIT(0)
Add system manager support for Agilex. Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com> --- v5: - Remove system_manager_agilex.h and use system_manager_soc64.h directly. v3: - Change include filename to system_manager_soc64.h. - Move to use defines instead of struct. v2: - Include system_manager_s10_agilex_common.h in system_manager_agilex.h --- arch/arm/mach-socfpga/include/mach/system_manager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)