summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-12 17:38:24 +0800
committerYe.Li <B37916@freescale.com>2014-06-17 11:14:05 +0800
commit5818e934fce8c44b2e5cb422945cdf0e82990f4c (patch)
tree0b58a3547250f3dd53247fd4c661089effb05d4a /board
parent0e1c9ce73883ab684d10e381c807e69ce0ec7839 (diff)
downloadu-boot-imx-5818e934fce8c44b2e5cb422945cdf0e82990f4c.zip
u-boot-imx-5818e934fce8c44b2e5cb422945cdf0e82990f4c.tar.gz
u-boot-imx-5818e934fce8c44b2e5cb422945cdf0e82990f4c.tar.bz2
ENGR00315894-74 pfuze200: add clear print for pfuze200
add clear print log to show pfuze200 or pfuze100 found on mx6qsabresd/ mx6slevk/mx6sx_19x19_arm2 boards. Signed-off-by: Robin Gong <b38343@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6sabresd/mx6sabresd.c3
-rw-r--r--board/freescale/mx6slevk/mx6slevk.c3
-rw-r--r--board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c
index 1ce47e7..27a6993 100644
--- a/board/freescale/mx6sabresd/mx6sabresd.c
+++ b/board/freescale/mx6sabresd/mx6sabresd.c
@@ -267,7 +267,8 @@ static int setup_pmic_voltages(void)
printf("Read Rev ID error!\n");
return -1;
}
- printf("Found PFUZE100! deviceid=%x,revid=%x\n", value, rev_id);
+ printf("Found PFUZE%s deviceid=%x,revid=%x\n",
+ ((value & 0xf) == 0) ? "100" : "200", value, rev_id);
/*For camera streaks issue,swap VGEN5 and VGEN3 to power camera.
*sperate VDDHIGH_IN and camera 2.8V power supply, after switch:
*VGEN5 for VDDHIGH_IN and increase to 3V to align with datasheet
diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c
index 1667ada..7df58fc 100644
--- a/board/freescale/mx6slevk/mx6slevk.c
+++ b/board/freescale/mx6slevk/mx6slevk.c
@@ -631,7 +631,8 @@ static int setup_pmic_voltages(void)
printf("Read Rev ID error!\n");
return -1;
}
- printf("Found PFUZE100! deviceid=%x,revid=%x\n", value, rev_id);
+ printf("Found PFUZE%s deviceid=%x,revid=%x\n",
+ ((value & 0xf) == 0) ? "100" : "200", value, rev_id);
/* set SW1AB staby volatage 0.975V */
if (i2c_read(0x8, 0x21, 1, &value, 1)) {
diff --git a/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c b/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c
index 1e4f322..cd0a293 100644
--- a/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c
+++ b/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c
@@ -631,7 +631,8 @@ static int setup_pmic_voltages(void)
printf("Read Rev ID error!\n");
return -1;
}
- printf("Found PFUZE100! deviceid 0x%x, revid 0x%x\n", value, rev_id);
+ printf("Found PFUZE%s deviceid=%x,revid=%x\n",
+ ((value & 0xf) == 0) ? "100" : "200", value, rev_id);
/* set SW1AB staby volatage 0.975V */
if (i2c_read(CONFIG_PMIC_I2C_SLAVE, PFUZE100_SW1ABSTBY, 1, &value, 1)) {