[U-Boot] [PATCH] spi: mxc_spi: Fix chipselect with DM_SPI in SPL

Jagan Teki jagan at amarulasolutions.com
Tue Oct 30 13:28:21 UTC 2018


On Tue, Sep 4, 2018 at 2:24 PM Bernhard Messerklinger
<bernhard.messerklinger at br-automation.com> wrote:
>
> Hi Jagan,
>
> it's not about any size constraint.
> To my understanding the macro CONFIG_IS_ENABLED(DM_SPI) is true if
> CONFIG_SPL_DM_SPI is defined during SPL build. Please tell me if I am
> wrong.
> At the moment this configuration parameter doesn't exist, so I used a
> #ifdef
> which works with CONFIG_DM_SPI.
>
> Would you prefer to add CONFIG_SPL_DM_SPI as configuration parameter?

I think your board config is disabling DM_SPI and DM_GPIO for SPL
builds, enable it for SPL as well and try.


More information about the U-Boot mailing list