From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 12 Sep 2014 12:13:13 +0200 Subject: [U-Boot] [PATCH v3 3/4] imx: mx6sabresd: Add clear print for pfuze200 In-Reply-To: <1410405229-12602-3-git-send-email-B37916@freescale.com> References: <1410405229-12602-1-git-send-email-B37916@freescale.com> <1410405229-12602-3-git-send-email-B37916@freescale.com> Message-ID: <5412C739.8030306@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Ye, On 11/09/2014 05:13, Ye.Li wrote: > Add clear print log to show pfuze200 or pfuze100 found on mx6sabresd. > > Signed-off-by: Ye.Li > --- > Changes since v1: > - None > > Changes since v2: > - None > > board/freescale/mx6sabresd/mx6sabresd.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c > index 5f65f1b..72d6562 100644 > --- a/board/freescale/mx6sabresd/mx6sabresd.c > +++ b/board/freescale/mx6sabresd/mx6sabresd.c > @@ -472,7 +472,8 @@ static int pfuze_init(void) > return ret; > > pmic_reg_read(p, PFUZE100_DEVICEID, ®); > - printf("PMIC: PFUZE100 ID=0x%02x\n", reg); > + printf("PMIC: PFUZE%s ID=0x%02x\n", > + ((reg & 0xf) == 0) ? "100" : "200", reg); > > /* Increase VGEN3 from 2.5 to 2.8V */ > pmic_reg_read(p, PFUZE100_VGEN3VOL, ®); > This is completely unrelated to the series - it can be applied independently from the other patches. You do not need to resend this one but please send in future patches belonging to the same series if they are related to the same issue or to the same set of issues. This simplifies review and merging - thanks ! Acked-by: Stefano Babic Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================