From: Siew Chin Lim Date: Tue, 10 Aug 2021 03:26:31 +0000 (+0800) Subject: arm: socfpga: Get clock manager base address for Intel N5X device X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d694c7d46b052b8186be99876ba30cc1e469a01b;p=u-boot.git arm: socfpga: Get clock manager base address for Intel N5X device Add N5X clock manager to socfpga_get_managers_addr function. Signed-off-by: Siew Chin Lim --- diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index f8d3d48ee8..9c19157de7 100644 --- a/arch/arm/mach-socfpga/misc.c +++ b/arch/arm/mach-socfpga/misc.c @@ -254,6 +254,9 @@ void socfpga_get_managers_addr(void) #ifdef CONFIG_TARGET_SOCFPGA_AGILEX ret = socfpga_get_base_addr("intel,agilex-clkmgr", &socfpga_clkmgr_base); +#elif IS_ENABLED(CONFIG_TARGET_SOCFPGA_N5X) + ret = socfpga_get_base_addr("intel,n5x-clkmgr", + &socfpga_clkmgr_base); #else ret = socfpga_get_base_addr("altr,clk-mgr", &socfpga_clkmgr_base); #endif