MLK-13384 ARM: imx: remove ldo bypass check on imx6sll
authorBai Ping <ping.bai@nxp.com>
Mon, 24 Oct 2016 10:08:39 +0000 (18:08 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:29 +0000 (14:52 -0500)
As on i.MX6SLL, there is no ARM LDO, the code for ARM LDO
bypass check is unnecessary, remove these piece of code in
i.MX6SLL low power idle.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
arch/arm/mach-imx/imx6sll_low_power_idle.S

index e18cc39..a7e206e 100644 (file)
        bic     r7, r7, #0x1
        str     r7, [r10, #0x110]
 
-       /* check whether ARM LDO is bypassed */
-       ldr     r7, [r10, #0x140]
-       and     r7, r7, #0x1f
-       cmp     r7, #0x1f
-       bne     10f
-
        /* low power band gap enable */
        ldr     r7, [r10, #0x270]
        orr     r7, r7, #0x20
        ands    r7, r7, #0x40000
        beq     11f
 
-       /* check whether ARM LDO is bypassed */
-       ldr     r7, [r10, #0x140]
-       and     r7, r7, #0x1f
-       cmp     r7, #0x1f
-       bne     12f
-
        /* turn on regular bandgap and wait for stable */
        ldr     r7, [r10, #0x150]
        bic     r7, r7, #0x1