From: Ley Foon Tan Date: Tue, 20 Aug 2019 15:51:36 +0800 Subject: [U-Boot] [PATCH v3 04/17] arm: socfpga: agilex: Add reset manager support In-Reply-To: <1566287509-4145-1-git-send-email-ley.foon.tan@intel.com> References: <1566287509-4145-1-git-send-email-ley.foon.tan@intel.com> Message-ID: <1566287509-4145-5-git-send-email-ley.foon.tan@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add reset manager support for Agilex. Signed-off-by: Ley Foon Tan --- v3: - Add reset_manager_soc64.h - Convert to use defines instead of struct. --- arch/arm/mach-socfpga/include/mach/reset_manager.h | 2 ++ .../mach-socfpga/include/mach/reset_manager_agilex.h | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 arch/arm/mach-socfpga/include/mach/reset_manager_agilex.h diff --git a/arch/arm/mach-socfpga/include/mach/reset_manager.h b/arch/arm/mach-socfpga/include/mach/reset_manager.h index c460e89d22..d4cd39e960 100644 --- a/arch/arm/mach-socfpga/include/mach/reset_manager.h +++ b/arch/arm/mach-socfpga/include/mach/reset_manager.h @@ -55,6 +55,8 @@ void socfpga_per_reset_all(void); #include #elif defined(CONFIG_TARGET_SOCFPGA_STRATIX10) #include +#elif defined(CONFIG_TARGET_SOCFPGA_AGILEX) +#include #endif #endif /* _RESET_MANAGER_H_ */ diff --git a/arch/arm/mach-socfpga/include/mach/reset_manager_agilex.h b/arch/arm/mach-socfpga/include/mach/reset_manager_agilex.h new file mode 100644 index 0000000000..617e06ec06 --- /dev/null +++ b/arch/arm/mach-socfpga/include/mach/reset_manager_agilex.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2019 Intel Corporation + */ + +#ifndef _RESET_MANAGER_AGILEX_ +#define _RESET_MANAGER_AGILEX_ + +#include + +#endif /* _RESET_MANAGER_AGILEX_ */ -- 2.19.0