mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <dev@lynxeye.de>
To: barebox@lists.infradead.org
Subject: [PATCH v4 04/13] tegra: introduce Tegra 20 SoC type
Date: Wed, 10 Apr 2013 11:14:46 +0200	[thread overview]
Message-ID: <1365585295-2420-4-git-send-email-dev@lynxeye.de> (raw)
In-Reply-To: <1365585295-2420-1-git-send-email-dev@lynxeye.de>

Tegra isn't a single architecture, but a collection of more or less
similar chip families. Introduce the same conf define as used in the
Linux kernel to differentiate between those families.

Currently we are only supporting the Tegra20 chip type.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
 arch/arm/mach-tegra/Kconfig | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index eda786b..f91267f 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -1,11 +1,23 @@
 if ARCH_TEGRA
 
+choice
+	prompt "Tegra processor type"
+
+config ARCH_TEGRA_2x_SOC
+	bool "Tegra 20"
+
+endchoice
+
+# ---------------------------------------------------------
+
+if ARCH_TEGRA_2x_SOC
+
 config ARCH_TEXT_BASE
 	hex
 	default 0x31fc0000
 
 choice
-	prompt "Tegra Board Type"
+	prompt "Tegra 20 Board Type"
 
 config MACH_TOSHIBA_AC100
 	bool "Toshiba AC100"
@@ -16,4 +28,8 @@ endchoice
 
 source arch/arm/boards/toshiba-ac100/Kconfig
 
+endif #ARCH_TEGRA_2x_SOC
+
+# ---------------------------------------------------------
+
 endif
-- 
1.8.1.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2013-04-10  9:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-10  9:14 [PATCH v4 01/13] tegra: pull in iomap.h from the Linux kernel Lucas Stach
2013-04-10  9:14 ` [PATCH v4 02/13] tegra: switch to proper CPU type Lucas Stach
2013-04-10  9:14 ` [PATCH v4 03/13] tegra: unify spelling in Kconfig with Linux kernel Lucas Stach
2013-04-10  9:14 ` Lucas Stach [this message]
2013-04-10  9:14 ` [PATCH v4 05/13] tegra: move default textbase Lucas Stach
2013-04-10  9:14 ` [PATCH v4 06/13] tegra: switch to DT only Lucas Stach
2013-04-10  9:14 ` [PATCH v4 07/13] tegra: add driver for the clock and reset module Lucas Stach
2013-04-10  9:14 ` [PATCH v4 08/13] tegra: add T20 timer driver Lucas Stach
2013-04-10  9:14 ` [PATCH v4 09/13] tegra: add T20 power management controller driver Lucas Stach
2013-04-10  9:14 ` [PATCH v4 10/13] tegra: add common lowlevel startup Lucas Stach
2013-04-10  9:14 ` [PATCH v4 11/13] tegra: add generic debug UART support Lucas Stach
2013-04-10 20:52   ` antonynpavlov
2013-04-10  9:14 ` [PATCH v4 12/13] tegra: add generic meminit Lucas Stach
2013-04-10  9:14 ` [PATCH v4 13/13] tegra: add GPIO controller driver Lucas Stach
2013-04-10 20:46   ` antonynpavlov

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=1365585295-2420-4-git-send-email-dev@lynxeye.de \
    --to=dev@lynxeye.de \
    --cc=barebox@lists.infradead.org \
    /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