All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@bootlin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] configs: sunxi: enable BLK, DM_MMC, DM_SCSI
Date: Sun, 18 Mar 2018 22:21:45 +0100	[thread overview]
Message-ID: <20180318212145.ooob54c7awuk5lqq@flea> (raw)
In-Reply-To: <20180318152006.5303-1-xypron.glpk@gmx.de>

Hi,

On Sun, Mar 18, 2018 at 04:20:06PM +0100, Heinrich Schuchardt wrote:
> doc/driver-model/MIGRATION.txt requires to move block drivers to the
> the driver model by v2018.05
> 
> So make the switch for the SUNXI block drivers.
> 
> Select BLK, DM_MMC, and DM_SCSI.
> 
> DM_USB dpends on USB but there is no necessity to make it depend on
> DISTRO_DEFAULTS.

That should be a separate patch.

> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  arch/arm/Kconfig | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 2c52ff025a..b608f01beb 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -715,13 +715,16 @@ config ARCH_SUNXI
>  	select BINMAN
>  	select CMD_GPIO
>  	select CMD_MMC if MMC
> -	select CMD_USB if DISTRO_DEFAULTS
> +	select CMD_USB if USB
>  	select DM
> +	select BLK

You assume here that you always have a block device, which might not
be the case (for example if you only have a NAND chip on your board).

>  	select DM_ETH
>  	select DM_GPIO
>  	select DM_KEYBOARD
> +	select DM_MMC

Ditto.

> +	select DM_SCSI


Ditto, with SATA.

Thanks!
Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180318/23ba7ceb/attachment.sig>

  reply	other threads:[~2018-03-18 21:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-13 17:37 [U-Boot] [PATCH 1/1] configs: sunxi: enable BLK, DM_MMC for Bananapi Heinrich Schuchardt
2018-03-13 18:41 ` Maxime Ripard
2018-03-13 19:09   ` Heinrich Schuchardt
2018-03-14  9:39     ` Maxime Ripard
2018-03-18 15:20       ` [U-Boot] [PATCH 1/1] configs: sunxi: enable BLK, DM_MMC, DM_SCSI Heinrich Schuchardt
2018-03-18 21:21         ` Maxime Ripard [this message]
2018-03-18 21:49           ` Heinrich Schuchardt
2018-03-20 14:29             ` Maxime Ripard
2018-03-24 10:35               ` Heinrich Schuchardt

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=20180318212145.ooob54c7awuk5lqq@flea \
    --to=maxime.ripard@bootlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.