All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 7/7] ARM: sunxi: remove bare default for CONFIG_MMC
Date: Thu, 12 Jan 2017 12:18:45 +0900	[thread overview]
Message-ID: <CAK7LNAT29B3aW_4AoMuHE=gFY_f4x9LRLo47G_2-jrfQcUxt_Q@mail.gmail.com> (raw)
In-Reply-To: <20170111214857.doy7b3oliqdjdcvg@lukather>

Hi Maxime,


2017-01-12 6:48 GMT+09:00 Maxime Ripard <maxime.ripard@free-electrons.com>:
> On Tue, Jan 10, 2017 at 07:57:22PM +0900, Masahiro Yamada wrote:
>> 2017-01-10 17:04 GMT+09:00 Maxime Ripard <maxime.ripard@free-electrons.com>:
>> > Hi,
>> >
>> > On Tue, Jan 10, 2017 at 01:32:08PM +0900, Masahiro Yamada wrote:
>> >> The bare default entry is wrong. Just remove it since the (real)
>> >> entry in drivers/mmc/Kconfig has "default ARM || PPC || SANDBOX".
>> >>
>> >> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>> >> Reviewed-by: Marek Vasut <marex@denx.de>
>> >> ---
>> >>
>> >> Changes in v2: None
>> >>
>> >>  board/sunxi/Kconfig | 4 ----
>> >>  1 file changed, 4 deletions(-)
>> >>
>> >> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
>> >> index e1d4ab1..11eb82a 100644
>> >> --- a/board/sunxi/Kconfig
>> >> +++ b/board/sunxi/Kconfig
>> >> @@ -291,10 +291,6 @@ config OLD_SUNXI_KERNEL_COMPAT
>> >>       Set this to enable various workarounds for old kernels, this results in
>> >>       sub-optimal settings for newer kernels, only enable if needed.
>> >>
>> >> -config MMC
>> >> -     depends on !UART0_PORT_F
>> >> -     default y if ARCH_SUNXI
>> >> -
>> >
>> > The default might be useless, but the additional depends on is really
>> > not.
>>
>> This is wrong anyway.
>
> The original code might have been wrong, but you just introduced a
> regression.
>
>> If you want to disable MMC, the following seems better.
>>
>> config MMC_SUNXI
>>           depends on ARCH_SUNXI && !UART0_PORT_F
>
> That looks great. Can you send a patch for it or add it to that serie?


OK.

Please check this:
http://patchwork.ozlabs.org/patch/714139/


-- 
Best Regards
Masahiro Yamada

  reply	other threads:[~2017-01-12  3:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170110043351epcas5p42e40afe7ed7778e4ff73821d90606363@epcas5p4.samsung.com>
2017-01-10  4:32 ` [U-Boot] [PATCH v2 0/7] mmc: more Kconfig conversion, MMC related clean-up Masahiro Yamada
2017-01-10  4:32   ` [U-Boot] [PATCH v2 1/7] ARM: socfpga: remove unused CONFIG option and cleanup README.socfpga Masahiro Yamada
2017-01-10  4:32   ` [U-Boot] [PATCH v2 2/7] mmc: rename CONFIG_ROCKCHIP_DWMMC to CONFIG_MMC_DW_ROCKCHIP Masahiro Yamada
2017-01-10  4:32   ` [U-Boot] [PATCH v2 3/7] mmc: move CONFIG_DWMMC to Kconfig, renaming to CONFIG_MMC_DW Masahiro Yamada
2017-01-10  4:32   ` [U-Boot] [PATCH v2 4/7] mmc: move DesignWare-based drivers to Kconfig Masahiro Yamada
2017-01-10  4:32   ` [U-Boot] [PATCH v2 5/7] ARM: davinci: remove unused CONFIG_DAVINCI_MMC_SD1 Masahiro Yamada
2017-01-11  3:19     ` Tom Rini
2017-01-10  4:32   ` [U-Boot] [PATCH v2 6/7] mmc: move more driver config options to Kconfig Masahiro Yamada
2017-01-10  4:32   ` [U-Boot] [PATCH v2 7/7] ARM: sunxi: remove bare default for CONFIG_MMC Masahiro Yamada
2017-01-10  8:04     ` Maxime Ripard
2017-01-10 10:57       ` Masahiro Yamada
2017-01-11 21:48         ` Maxime Ripard
2017-01-12  3:18           ` Masahiro Yamada [this message]
2017-01-10  5:37   ` [U-Boot] [PATCH v2 0/7] mmc: more Kconfig conversion, MMC related clean-up Jaehoon Chung

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='CAK7LNAT29B3aW_4AoMuHE=gFY_f4x9LRLo47G_2-jrfQcUxt_Q@mail.gmail.com' \
    --to=yamada.masahiro@socionext.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.