[U-Boot] [PATCH] imx: imx6ul: disable POR_B internal pull up

van.freenix at gmail.com van.freenix at gmail.com
Sun Sep 18 11:21:07 CEST 2016


From: Peng Fan <peng.fan at nxp.com>

>From TO1.1, SNVS adds internal pull up control for POR_B,
the register filed is GPBIT[1:0], after system boot up,
it can be set to 2b'01 to disable internal pull up.
It can save about 30uA power in SNVS mode.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
Cc: Stefano Babic <sbabic at denx.de>
---
 arch/arm/cpu/armv7/mx6/soc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index f96b610..f6eacb5 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -383,7 +383,6 @@ int arch_cpu_init(void)
 			writel((readl(MX6UL_SNVS_LP_BASE_ADDR + 0x10) &
 			       (~0x1400)) | 0x400,
 			       MX6UL_SNVS_LP_BASE_ADDR + 0x10);
-		
 		}
 	}
 
-- 
2.6.2



More information about the U-Boot mailing list