[U-Boot] [PATCH 1/2] SPI: Add i.MX ECSPI driver

Stefano Babic sbabic at denx.de
Mon Jan 16 18:38:09 CET 2012


On 16/01/2012 18:29, Eric Nelson wrote:

>>
> Good catch guys.
> 
> The mxc_spi driver already has support for the ECSPI on i.MX6,
> and just needs a small amount of glue to function.

Right - and we already discussed in the past how to avoid to put
specific SOC code inside the driver. In fact, the cspi_regs structure
was already moved into the specific SOC header (imx-regs.h) - but the
definitions of the single bits of the registers are still inside the
driver, as well as the base address of the (e)cspi controllers.

They should also be moved - take into acoount by implementing your
changes for i.mx6.

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-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list