public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/5] spl: dm: disable SPI DM flash for non-DM SPL
Date: Fri, 24 May 2019 10:24:27 -0400	[thread overview]
Message-ID: <20190524142427.GA7665@bill-the-cat> (raw)
In-Reply-To: <20190524044057.47076-1-chuanhua.han@nxp.com>

On Fri, May 24, 2019 at 12:40:53PM +0800, Chuanhua Han wrote:

> This patch solves the problem that spiboot cannot be performed in
> non-DM SPL.
> 
> Signed-off-by: Pan Jiafei <Jiafei.Pan@freescale.com>
> Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
> ---
> Changes in v2: 
> 	- No change.
> 
>  include/config_uncmd_spl.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/config_uncmd_spl.h b/include/config_uncmd_spl.h
> index c2f9735ce7..da94b3d9df 100644
> --- a/include/config_uncmd_spl.h
> +++ b/include/config_uncmd_spl.h
> @@ -15,6 +15,7 @@
>  #undef CONFIG_DM_GPIO
>  #undef CONFIG_DM_I2C
>  #undef CONFIG_DM_SPI
> +#undef CONFIG_DM_SPI_FLASH
>  #endif
>  
>  #undef CONFIG_DM_WARN

Long term, this shows places where we need CONFIG_SPL_DM_xxx and code
should be using CONFIG_IS_ENABLED(DM_xxx).  Please update at least the
DM_SPI_FLASH case you're finding to behave like that, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190524/ba14ed1a/attachment.sig>

  parent reply	other threads:[~2019-05-24 14:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-24  4:40 [U-Boot] [PATCH v2 1/5] spl: dm: disable SPI DM flash for non-DM SPL Chuanhua Han
2019-05-24  4:40 ` [U-Boot] [PATCH v2 2/5] dm: spi: Convert Freescale ESPI driver to driver model Chuanhua Han
2019-06-22 19:09   ` Simon Glass
2019-06-23 10:38     ` [U-Boot] [EXT] " Chuanhua Han
2019-06-24  3:59     ` Chuanhua Han
2019-05-24  4:40 ` [U-Boot] [PATCH v2 3/5] powerpc: dts: t2080: add espi controller node support Chuanhua Han
2019-05-24  4:40 ` [U-Boot] [PATCH v2 4/5] powerpc: dts: t2080qds: add espi slave nodes support Chuanhua Han
2019-05-24  4:40 ` [U-Boot] [PATCH v2 5/5] configs: enable espi device module in T2080QDS Chuanhua Han
2019-05-24 14:24 ` Tom Rini [this message]
2019-05-30 10:45   ` [U-Boot] [EXT] Re: [PATCH v2 1/5] spl: dm: disable SPI DM flash for non-DM SPL Chuanhua Han
2019-05-30 19:43     ` Tom Rini
2019-05-31  2:49       ` Chuanhua Han
2019-06-03 13:54         ` Tom Rini
2019-06-03  4:18       ` Chuanhua Han
2019-06-03 13:56         ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190524142427.GA7665@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox