From: Ian Campbell <ijc@hellion.org.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 6/6] sunxi: Kconfig: Unify sunxi Kconfig code
Date: Sun, 12 Oct 2014 22:17:16 +0100 [thread overview]
Message-ID: <1413148636.11505.70.camel@hellion.org.uk> (raw)
In-Reply-To: <1413137238-27251-7-git-send-email-hdegoede@redhat.com>
On Sun, 2014-10-12 at 20:07 +0200, Hans de Goede wrote:
> Unify the sunxi Kconfig code, instead of having seperate code blocks for
"separate"
> each of sun4i, sun5i and sun7i.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Looks pretty familiar ;-)
Acked-by: Ian Campbell <ijc@hellion.org.uk>
> ---
> board/sunxi/Kconfig | 32 +++++---------------------------
> 1 file changed, 5 insertions(+), 27 deletions(-)
>
> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
> index 552fce8..4ac562c 100644
> --- a/board/sunxi/Kconfig
> +++ b/board/sunxi/Kconfig
> @@ -1,33 +1,11 @@
> -if TARGET_SUN4I
> -
> -config SYS_CONFIG_NAME
> - default "sun4i"
> -
> -endif
> -
> -if TARGET_SUN5I
> -
> -config SYS_CONFIG_NAME
> - default "sun5i"
> -
> -endif
> -
> -if TARGET_SUN6I
> +if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I
>
> config SYS_CONFIG_NAME
> string
> - default "sun6i"
> -
> -endif
> -
> -if TARGET_SUN7I
> -
> -config SYS_CONFIG_NAME
> - default "sun7i"
> -
> -endif
> -
> -if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN6I || TARGET_SUN7I
> + default "sun4i" if TARGET_SUN4I
> + default "sun5i" if TARGET_SUN5I
> + default "sun6i" if TARGET_SUN5I
> + default "sun7i" if TARGET_SUN7I
>
> config SYS_CPU
> default "armv7"
next prev parent reply other threads:[~2014-10-12 21:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-12 18:07 [U-Boot] [PATCH v3 0/6] sunxi: Enable second sdcard slot found on some boards Hans de Goede
2014-10-12 18:07 ` [U-Boot] [PATCH v3 1/6] sunxi: Add mmc card-detect functionality Hans de Goede
2014-10-12 18:07 ` [U-Boot] [PATCH v3 2/6] sunxi: Turn MMC_SUNXI_SLOT_EXTRA into a proper Kconfig option Hans de Goede
2014-10-12 18:07 ` [U-Boot] [PATCH v3 3/6] sunxi: When we've both mmc0 and mmc2, detect from which one we're booting Hans de Goede
2014-10-12 21:16 ` Ian Campbell
2014-10-12 18:07 ` [U-Boot] [PATCH v3 4/6] sunxi: Use PG3 - PG8 as io-pins for mmc1 Hans de Goede
2014-10-12 18:07 ` [U-Boot] [PATCH v3 5/6] sunxi: Enable second sdcard slot found on some boards Hans de Goede
2014-10-12 18:07 ` [U-Boot] [PATCH v3 6/6] sunxi: Kconfig: Unify sunxi Kconfig code Hans de Goede
2014-10-12 21:17 ` Ian Campbell [this message]
2014-10-21 19:03 ` Ian Campbell
2014-10-21 19:25 ` Tom Rini
2014-10-22 12:18 ` Hans de Goede
2014-10-12 21:19 ` [U-Boot] [PATCH v3 0/6] sunxi: Enable second sdcard slot found on some boards Ian Campbell
2014-10-13 4:48 ` Hans de Goede
2014-10-13 7:00 ` Ian Campbell
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=1413148636.11505.70.camel@hellion.org.uk \
--to=ijc@hellion.org.uk \
--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