diff options
author | zhang sanshan <sanshan.zhang@nxp.com> | 2017-07-05 15:02:33 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2017-11-03 02:37:00 +0800 |
commit | 73aa243f6caf5c18685cbea94d62712fd2b8e12a (patch) | |
tree | 65bf9c860fb4d889b5dae23e5ad3513cce3de4eb /board | |
parent | bc1f84f831937e02ebf0e1a03d8439401f2a7a0d (diff) |
MA-9828 [uboot] 6ul_Aquila: can't boot up with 2017.03 uboot
6ul_aquila will hang at somewhere when boot up.
the prevision of voltage configuration change from 1mV precision
to 0.1mV prevision that cause the conversion are wrong.
Change-Id: I1cdebb2a013e7adce5cd56844102acd4e30977ad
Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx6ul_aquila/mx6ul_aquila.c | 4 | ||||
-rwxr-xr-x | board/freescale/pico-imx7d/pico-imx7d.c | 2 | ||||
-rw-r--r-- | board/freescale/picosom-imx6ul/picosom-imx6ul.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/board/freescale/mx6ul_aquila/mx6ul_aquila.c b/board/freescale/mx6ul_aquila/mx6ul_aquila.c index e087cb6813..205f0ee9c3 100644 --- a/board/freescale/mx6ul_aquila/mx6ul_aquila.c +++ b/board/freescale/mx6ul_aquila/mx6ul_aquila.c @@ -800,11 +800,11 @@ void ldo_mode_set(int ldo_bypass) /* decrease VDDARM to 1.275V */ pmic_reg_read(pfuze, PFUZE3000_SW1BVOLT, &value); value &= ~0x1f; - value |= PFUZE3000_SW1AB_SETP(1275); + value |= PFUZE3000_SW1AB_SETP(12750); pmic_reg_write(pfuze, PFUZE3000_SW1BVOLT, value); set_anatop_bypass(1); - vddarm = PFUZE3000_SW1AB_SETP(1175); + vddarm = PFUZE3000_SW1AB_SETP(11750); pmic_reg_read(pfuze, PFUZE3000_SW1BVOLT, &value); value &= ~0x1f; diff --git a/board/freescale/pico-imx7d/pico-imx7d.c b/board/freescale/pico-imx7d/pico-imx7d.c index 3935a46535..df829360ad 100755 --- a/board/freescale/pico-imx7d/pico-imx7d.c +++ b/board/freescale/pico-imx7d/pico-imx7d.c @@ -615,7 +615,7 @@ int power_init_board(void) /* decrease SW1B normal voltage to 0.975V */ pmic_reg_read(p, PFUZE3000_SW1BVOLT, ®); reg &= ~0x1f; - reg |= PFUZE3000_SW1AB_SETP(975); + reg |= PFUZE3000_SW1AB_SETP(9750); pmic_reg_write(p, PFUZE3000_SW1BVOLT, reg); return 0; diff --git a/board/freescale/picosom-imx6ul/picosom-imx6ul.c b/board/freescale/picosom-imx6ul/picosom-imx6ul.c index db0f5b2e20..c001163219 100644 --- a/board/freescale/picosom-imx6ul/picosom-imx6ul.c +++ b/board/freescale/picosom-imx6ul/picosom-imx6ul.c @@ -590,11 +590,11 @@ void ldo_mode_set(int ldo_bypass) /* decrease VDDARM to 1.275V */ pmic_reg_read(pfuze, PFUZE3000_SW1BVOLT, &value); value &= ~0x1f; - value |= PFUZE3000_SW1AB_SETP(1275); + value |= PFUZE3000_SW1AB_SETP(12750); pmic_reg_write(pfuze, PFUZE3000_SW1BVOLT, value); set_anatop_bypass(1); - vddarm = PFUZE3000_SW1AB_SETP(1175); + vddarm = PFUZE3000_SW1AB_SETP(11750); pmic_reg_read(pfuze, PFUZE3000_SW1BVOLT, &value); value &= ~0x1f; |