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

Bernhard Messerklinger bernhard.messerklinger at br-automation.com
Tue Sep 4 08:54:56 UTC 2018


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?

Bernhard



Von:    Jagan Teki <jagan at amarulasolutions.com>
An:     Bernhard Messerklinger <bernhard.messerklinger at br-automation.com>, 

Kopie:  U-Boot-Denx <u-boot at lists.denx.de>, Jagan Teki 
<jagan at openedev.com>
Datum:  03.09.2018 18:33
Betreff:        Re: [U-Boot] [PATCH] spi: mxc_spi: Fix chipselect with 
DM_SPI in SPL



On Mon, Sep 3, 2018 at 4:02 PM, Bernhard Messerklinger
<bernhard.messerklinger at br-automation.com> wrote:
> Since CONFIG_IS_ENABLED(DM_SPI) is not working in SPL because
> CONFIG_SPL_DM_SPI is not defined we should go with #ifdef CONFIG_DM_SPI.

Better enabled it for SPL, did you find any size constraint? if yet
try for platdata?





More information about the U-Boot mailing list