[U-Boot] [PATCH v2] spi: mxc_spi: Set master mode for all channels

Fabio Estevam festevam at gmail.com
Wed Apr 10 14:01:54 CEST 2013


Hi Stefano,

On Wed, Apr 10, 2013 at 3:10 AM, Stefano Babic <sbabic at denx.de> wrote:

> I am afraid you are breaking MX3x / MX25 because you add
> MXC_CSPICTRL_MODE_MASK only to MX5 / MX6.

It will not break other platforms because this code is protected with
a "#ifdef MXC_ECSPI".

And MXC_ECSPI is only defined on mx5/mx6:

arch/arm/include/asm/arch-mx5/imx-regs.h:#define MXC_ECSPI
arch/arm/include/asm/arch-mx6/imx-regs.h:#define MXC_ECSPI

,so we are safe here.

Regards,

Fabio Estevam


More information about the U-Boot mailing list