summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2014-11-30 10:47:11 +0800
committerPeng Fan <Peng.Fan@freescale.com>2014-12-01 09:56:20 +0800
commite4a54f8063e63b85c77d7009513e40ae20afa6af (patch)
tree84b6da168ac743e1c95c21a973cabcaf7d1671cb
parenteb4e6a6e65fe9074095869ecd5ccfe0a1559917d (diff)
downloadu-boot-imx-e4a54f8063e63b85c77d7009513e40ae20afa6af.zip
u-boot-imx-e4a54f8063e63b85c77d7009513e40ae20afa6af.tar.gz
u-boot-imx-e4a54f8063e63b85c77d7009513e40ae20afa6af.tar.bz2
MLK-9933 imx:mx6sxsabresd correct info for PFUZE
We use PFUZE200 for SX SDB RevB board and PFUZE100 for SX SDB RevA board. Show correct msg according DeviceID, since PFUZE200 and PFUZE100 have different DeviceID. PFUZE200's id is 1, while PFUZE100's is 0. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> (cherry picked from commit 6ad39425bbc8b6dcade3ecd4883f624e277588c1)
-rw-r--r--board/freescale/mx6sxsabresd/mx6sxsabresd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c
index cfa0898..0d033f3 100644
--- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c
+++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c
@@ -708,7 +708,12 @@ 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);
+ /*
+ * PFUZE200: Die version 0001 = PF0200
+ * PFUZE100: Die version 0000 = PF0100
+ */
+ printf("Found %s! deviceid 0x%x, revid 0x%x\n", (value & 0xf) ?
+ "PFUZE200" : "PFUZE100", value & 0xf, rev_id);
if (setup_pmic_mode(value & 0xf)) {
printf("setup pmic mode error!\n");