Re: [U-Boot] [PATCH 1/2] FSL/eSDHC: enable the peripheral clock to detect the card

2012-03-28 Thread Stefano Babic
I.MX6/5 reuse the fsl_esdhc.c driver, and he don't care these reserved field. Otherwise he should change this driver. E.g: In function esdhc_init: esdhc_write32(regs-sysctl, SYSCTL_HCKEN | SYSCTL_IPGEN); in function set_sysctl: clk = SYSCTL_PEREN | SYSCTL_CKEN; esdhc_setbits32(regs-sysctl,

[U-Boot] [PATCH 1/2] FSL/eSDHC: enable the peripheral clock to detect the card

2012-03-27 Thread Chang-Ming.Huang
From: Jerry Huang chang-ming.hu...@freescale.com According to the card detection of p1/p2 paltform RM, we should set SYSCTL[PEREN] to enable the clock. Otherwise, after booting the u-boot, and then inserting the SD card, the SD card can't be detected. Signed-off-by: Jerry Huang

Re: [U-Boot] [PATCH 1/2] FSL/eSDHC: enable the peripheral clock to detect the card

2012-03-27 Thread Dirk Behme
On 27.03.2012 12:25, chang-ming.hu...@freescale.com wrote: From: Jerry Huang chang-ming.hu...@freescale.com According to the card detection of p1/p2 paltform RM, typo = platform we should set SYSCTL[PEREN] to enable the clock. Otherwise, after booting the u-boot, and then inserting the SD

Re: [U-Boot] [PATCH 1/2] FSL/eSDHC: enable the peripheral clock to detect the card

2012-03-27 Thread Stefano Babic
On 27/03/2012 12:25, chang-ming.hu...@freescale.com wrote: From: Jerry Huang chang-ming.hu...@freescale.com According to the card detection of p1/p2 paltform RM, we should set SYSCTL[PEREN] to enable the clock. Otherwise, after booting the u-boot, and then inserting the SD card, the SD card

Re: [U-Boot] [PATCH 1/2] FSL/eSDHC: enable the peripheral clock to detect the card

2012-03-27 Thread Stefano Babic
On 27/03/2012 13:01, Dirk Behme wrote: On 27.03.2012 12:25, chang-ming.hu...@freescale.com wrote: From: Jerry Huang chang-ming.hu...@freescale.com According to the card detection of p1/p2 paltform RM, typo = platform we should set SYSCTL[PEREN] to enable the clock. Otherwise, after

Re: [U-Boot] [PATCH 1/2] FSL/eSDHC: enable the peripheral clock to detect the card

2012-03-27 Thread Huang Changming-R66093
Thanks Jerry Huang -Original Message- From: Stefano Babic [mailto:sba...@denx.de] Sent: Wednesday, March 28, 2012 1:13 AM To: Huang Changming-R66093 Cc: u-boot@lists.denx.de; Andy Fleming Subject: Re: [U-Boot] [PATCH 1/2] FSL/eSDHC: enable the peripheral clock to detect the card

Re: [U-Boot] [PATCH 1/2] FSL/eSDHC: enable the peripheral clock to detect the card

2012-03-27 Thread Huang Changming-R66093
Thanks Jerry Huang -Original Message- From: Stefano Babic [mailto:sba...@denx.de] Sent: Wednesday, March 28, 2012 1:17 AM To: Dirk Behme Cc: Huang Changming-R66093; u-boot@lists.denx.de; Andy Fleming Subject: Re: [U-Boot] [PATCH 1/2] FSL/eSDHC: enable the peripheral clock to