]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: imx8ulp: Load the lposc fuse for dual boot
authorYe Li <ye.li@nxp.com>
Wed, 6 Apr 2022 06:30:18 +0000 (14:30 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 15:33:56 +0000 (17:33 +0200)
Found the lposc fuse loading having impact to cpu idle in kernel.
Without the loading in dual boot mode, kernel will hang after idle
for a while.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx8ulp_evk/spl.c

index e6949b5e431f3e8a1c6ef71ead0e1e7f76ea98c2..9bc90816176872e78d6d7266b3e72b188d86bdd3 100644 (file)
@@ -76,10 +76,8 @@ void spl_board_init(void)
 
        /* After AP set iomuxc0, the i2c can't work, Need M33 to set it now */
 
-       /* Load the lposc fuse for single boot to work around ROM issue,
-        *  The fuse depends on S400 to read.
-        */
-       if (is_soc_rev(CHIP_REV_1_0) && get_boot_mode() == SINGLE_BOOT)
+       /* Load the lposc fuse to work around ROM issue. The fuse depends on S400 to read. */
+       if (is_soc_rev(CHIP_REV_1_0))
                load_lposc_fuse();
 
        upower_init();