From: "André Przywara" <andre.przywara@arm.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] cmd: nand: Make the NAND options default to NAND_SUNXI
Date: Mon, 13 Mar 2017 00:37:36 +0000 [thread overview]
Message-ID: <cbd67076-6525-bea4-e6fc-19d2df21d493@arm.com> (raw)
In-Reply-To: <20170303143226.13872-2-maxime.ripard@free-electrons.com>
On 03/03/17 14:32, Maxime Ripard wrote:
> If we depend on the ARCH_SUNXI configuration option, the boards that do not
> have NAND support enabled (with the associated options) will not compile
> anymore.
>
> Depend on the NAND driver configuration option to make sure that is not the
> case.
> Reported-by: Chen-Yu Tsai <wens@csie.org>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
As I came up with an identical patch today to fix sunxi/master:
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
So this situation is a bit unfortunate: The sunxi/master branch was
updated apparently before even compile-testing it for more than one
sunxi board (it is broken for every sunxi board except Chip Pro at the
moment: buildman says 105/106). And even after reports and the
corresponding fixes appeared (thanks Chen-Yu and Maxime!) the branch is
_still_ broken as of today (10 days after the fix was posted).
So can we please have both
a) a better quality assurance before merging patches into this custodian
branch and
b) quicker merging of fixes?
To my understanding u-boot-sunxi should be always a good and working
candidate for anyone interested in Allwinner boards.
For a) it would already help to just simply build test sunxi:
$ tools/buildman/buildman sunxi
but probably extend this to cover at least all ARM boards.
Cheers,
Andre
> ---
> cmd/Kconfig | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 585a00c31f4e..91e3d6a46769 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -438,7 +438,7 @@ config CMD_MMC
>
> config CMD_NAND
> bool "nand"
> - default y if ARCH_SUNXI
> + default y if NAND_SUNXI
> help
> NAND support.
>
> @@ -847,7 +847,7 @@ config CMD_UBI
> tristate "Enable UBI - Unsorted block images commands"
> select CRC32
> select MTD_UBI
> - default y if ARCH_SUNXI
> + default y if NAND_SUNXI
> help
> UBI is a software layer above MTD layer which admits use of LVM-like
> logical volumes on top of MTD devices, hides some complexities of
> @@ -862,7 +862,7 @@ config CMD_UBIFS
> select CRC32
> select RBTREE if ARCH_SUNXI
> select LZO if ARCH_SUNXI
> - default y if ARCH_SUNXI
> + default y if NAND_SUNXI
> help
> UBIFS is a file system for flash devices which works on top of UBI.
>
>
next prev parent reply other threads:[~2017-03-13 0:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-03 14:32 [U-Boot] [PATCH 1/2] cmd: ubifs: Add a dependency on CMD_UBI Maxime Ripard
2017-03-03 14:32 ` [U-Boot] [PATCH 2/2] cmd: nand: Make the NAND options default to NAND_SUNXI Maxime Ripard
2017-03-06 4:36 ` Chen-Yu Tsai
2017-03-13 0:37 ` André Przywara [this message]
2017-03-20 18:52 ` Maxime Ripard
2017-03-20 18:55 ` Jagan Teki
2017-03-03 15:50 ` [U-Boot] [PATCH 1/2] cmd: ubifs: Add a dependency on CMD_UBI Heiko Schocher
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=cbd67076-6525-bea4-e6fc-19d2df21d493@arm.com \
--to=andre.przywara@arm.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