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

2018-10-30 Thread Jagan Teki
On Tue, Sep 4, 2018 at 2:24 PM Bernhard Messerklinger 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 configuratio

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

2018-09-03 Thread Jagan Teki
On Mon, Sep 3, 2018 at 4:02 PM, Bernhard Messerklinger 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? __

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

2018-09-03 Thread Bernhard Messerklinger
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. Signed-off-by: Bernhard Messerklinger --- drivers/spi/mxc_spi.c | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git