public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] ARM: tegra: Add support for norrin board
Date: Tue, 05 Aug 2014 10:02:55 -0600	[thread overview]
Message-ID: <53E1002F.8070304@wwwdotorg.org> (raw)
In-Reply-To: <1407189434-29869-1-git-send-email-amartin@nvidia.com>

On 08/04/2014 03:57 PM, Allen Martin wrote:
> Norrin (PM370) is a Tegra124 clamshell board that is very similar to
> venice2, but it has a different panel, the sdcard cd and wp sense are
> flipped, and it has a different revision of the AS3722 PMIC.  This
> board is also refered to as "nyan" in the ChromeOS trees.

> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index e385eda94cdf..f4e0f5a42c14 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -716,6 +716,9 @@ config TARGET_DALMORE
>   config TARGET_JETSON_TK1
>   	bool "Support jetson-tk1"
>
> +config TARGET_NORRIN
> +	bool "Support norrin"
> +

Note that this patch is going to conflict with:
http://patchwork.ozlabs.org/patch/376287/
tegra: kconfig: move board select menu and common settings

... since that moves all the Tegra board options into sub-menus. At some 
point, this or that patch will need to be rebased on the other, or 
merged with each-other

> @@ -912,6 +915,7 @@ source "board/nvidia/cardhu/Kconfig"
>   source "board/nvidia/dalmore/Kconfig"
>   source "board/nvidia/harmony/Kconfig"
>   source "board/nvidia/jetson-tk1/Kconfig"
> +source "board/nvidia/norrin/Kconfig"

Indentation looks wrong there.

> diff --git a/board/nvidia/venice2/as3722_init.h b/board/nvidia/venice2/as3722_init.h

> -#ifdef CONFIG_BOARD_JETSON_TK1
> +#if defined(CONFIG_BOARD_JETSON_TK1) || defined(CONFIG_BOARD_NORRIN)

Let's use CONFIG_TARGET_NORRIN directly here. This is the variable 
that's set up by Kconfig. It means that norrin_defconfig won't have to 
set up the extra/custom CONFIG_BOARD_NORRIN.

I've already sent a patch to fix this same issue for Jetson TK1:

http://patchwork.ozlabs.org/patch/375467/
ARM: tegra: remove custom define for Jetson TK1

> diff --git a/configs/norrin_defconfig b/configs/norrin_defconfig

> +CONFIG_SYS_EXTRA_OPTIONS="BOARD_NORRIN="

Per my comment above, you can remove that one line.

Aside from those issues, this patch looks fine.

      reply	other threads:[~2014-08-05 16:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04 21:57 [U-Boot] [PATCH v3] ARM: tegra: Add support for norrin board Allen Martin
2014-08-05 16:02 ` Stephen Warren [this message]

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=53E1002F.8070304@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --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