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

Stefano Babic sbabic at denx.de
Wed Mar 28 10:08:22 CEST 2012


> 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, clk);
> 
> so I think my code has no any problem.

ok, fine.

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
=====================================================================


More information about the U-Boot mailing list