]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: imx8: fix build when CONFIG_IMX_BOOTAUX is set
authorMax Krummenacher <max.krummenacher@toradex.com>
Wed, 7 Aug 2024 13:39:11 +0000 (15:39 +0200)
committerFabio Estevam <festevam@denx.de>
Tue, 13 Aug 2024 11:28:24 +0000 (08:28 -0300)
Use correct function name.

Fixes: e8cd1f60d964 ("imx: imx8: bootaux: Add i.MX8 M4 boot support")
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
arch/arm/mach-imx/imx8/cpu.c

index accba502e4924e53ae1b1306234ac4d6bbb620a1..834aca82bcfd49dee02fd37813f5c46ae83af66d 100644 (file)
@@ -258,14 +258,14 @@ int arch_auxiliary_core_up(u32 core_id, ulong boot_private_data)
                        return -EIO;
                }
 
-               if (!power_domain_lookup_name("audio_sai0", &pd)) {
+               if (!imx8_power_domain_lookup_name("audio_sai0", &pd)) {
                        if (power_domain_on(&pd)) {
                                printf("Error power on SAI0\n");
                                return -EIO;
                        }
                }
 
-               if (!power_domain_lookup_name("audio_ocram", &pd)) {
+               if (!imx8_power_domain_lookup_name("audio_ocram", &pd)) {
                        if (power_domain_on(&pd)) {
                                printf("Error power on HIFI RAM\n");
                                return -EIO;