mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00:00
board: freescale: typo volatge
%s/volatge/voltage/g Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Acked-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
980bcccf41
commit
354a70a5d9
1 changed files with 4 additions and 4 deletions
|
@ -690,7 +690,7 @@ int get_serdes_volt(void)
|
||||||
dm_i2c_read(dev, PMBUS_CMD_READ_VOUT, (void *)&vcode, 2);
|
dm_i2c_read(dev, PMBUS_CMD_READ_VOUT, (void *)&vcode, 2);
|
||||||
#endif
|
#endif
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printf("VID: failed to read the volatge\n");
|
printf("VID: failed to read the voltage\n");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -716,11 +716,11 @@ int set_serdes_volt(int svdd)
|
||||||
(void *)&buff, 5);
|
(void *)&buff, 5);
|
||||||
#endif
|
#endif
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printf("VID: I2C failed to write to the volatge regulator\n");
|
printf("VID: I2C failed to write to the voltage regulator\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Wait for the volatge to get to the desired value */
|
/* Wait for the voltage to get to the desired value */
|
||||||
do {
|
do {
|
||||||
vdd_last = get_serdes_volt();
|
vdd_last = get_serdes_volt();
|
||||||
if (vdd_last < 0) {
|
if (vdd_last < 0) {
|
||||||
|
@ -778,7 +778,7 @@ int set_serdes_volt(int svdd)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Wait for the volatge to get to the desired value */
|
/* Wait for the voltage to get to the desired value */
|
||||||
udelay(10000);
|
udelay(10000);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue