summaryrefslogtreecommitdiff
path: root/board
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-11-30 10:55:57 +0800
commit6ad39425bbc8b6dcade3ecd4883f624e277588c1 (patch)
tree87f479d3ce8d2baf07e36deff1859281c244ca94 /board
parent9af06ef99b07a6ae2f6709bc45fa1b416678bc7e (diff)
downloadu-boot-imx-6ad39425bbc8b6dcade3ecd4883f624e277588c1.zip
u-boot-imx-6ad39425bbc8b6dcade3ecd4883f624e277588c1.tar.gz
u-boot-imx-6ad39425bbc8b6dcade3ecd4883f624e277588c1.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>
Diffstat (limited to 'board')
-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");