]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: socfpga: Get clock manager base address for Intel N5X device
authorSiew Chin Lim <elly.siew.chin.lim@intel.com>
Tue, 10 Aug 2021 03:26:31 +0000 (11:26 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Wed, 25 Aug 2021 04:54:37 +0000 (12:54 +0800)
Add N5X clock manager to socfpga_get_managers_addr function.

Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com>
arch/arm/mach-socfpga/misc.c

index f8d3d48ee8968bd67dd6bbbf18f87a73175db84c..9c19157de71b4825896b8b5c3bba5ad804442107 100644 (file)
@@ -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