summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-05-18 13:37:26 +0800
committerStefano Babic <sbabic@denx.de>2015-05-19 15:13:38 +0200
commit3fd10f3e25487121563fddfdd9c44cd863662b7a (patch)
treede04d0e3bfab614bab0aca94dd58d9c13e3d2450
parent7e611272ddb3b41985ad881f549f4258e1469f65 (diff)
downloadtalos-obmc-uboot-3fd10f3e25487121563fddfdd9c44cd863662b7a.tar.gz
talos-obmc-uboot-3fd10f3e25487121563fddfdd9c44cd863662b7a.zip
pmic: pfuze100 fix typo
Change PUZE_100_SW1ABCONF to PFUZE100_SW1ABCONF Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
-rw-r--r--board/freescale/common/pfuze.c4
-rw-r--r--include/power/pfuze100_pmic.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/common/pfuze.c b/board/freescale/common/pfuze.c
index 4980bf7b00..d6a209e1a3 100644
--- a/board/freescale/common/pfuze.c
+++ b/board/freescale/common/pfuze.c
@@ -71,10 +71,10 @@ struct pmic *pfuze_common_init(unsigned char i2cbus)
pmic_reg_write(p, PFUZE100_SW1ABSTBY, reg);
/* Set SW1AB/VDDARM step ramp up time from 16us to 4us/25mV */
- pmic_reg_read(p, PUZE_100_SW1ABCONF, &reg);
+ pmic_reg_read(p, PFUZE100_SW1ABCONF, &reg);
reg &= ~SW1xCONF_DVSSPEED_MASK;
reg |= SW1xCONF_DVSSPEED_4US;
- pmic_reg_write(p, PUZE_100_SW1ABCONF, reg);
+ pmic_reg_write(p, PFUZE100_SW1ABCONF, reg);
/* Set SW1C standby voltage to 0.975V */
pmic_reg_read(p, PFUZE100_SW1CSTBY, &reg);
diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuze100_pmic.h
index 8e7a22d020..57b9ca94af 100644
--- a/include/power/pfuze100_pmic.h
+++ b/include/power/pfuze100_pmic.h
@@ -18,7 +18,7 @@ enum {
PFUZE100_SW1ABSTBY = 0x21,
PFUZE100_SW1ABOFF = 0x22,
PFUZE100_SW1ABMODE = 0x23,
- PUZE_100_SW1ABCONF = 0x24,
+ PFUZE100_SW1ABCONF = 0x24,
PFUZE100_SW1CVOL = 0x2e,
PFUZE100_SW1CSTBY = 0x2f,
PFUZE100_SW1COFF = 0x30,
OpenPOWER on IntegriCloud