mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 15:01:27 +02: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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user