From: Lucas Stach <dev@lynxeye.de>
To: barebox@lists.infradead.org
Subject: [PATCH] fixup! tegra: add Tegra3 to relevant lowlevel functions
Date: Thu, 27 Feb 2014 09:49:46 +0100 [thread overview]
Message-ID: <1393490986-3866-1-git-send-email-dev@lynxeye.de> (raw)
Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
This got messed up while applying. You may want to
squash this in while the original patch still sits
in -next.
---
arch/arm/mach-tegra/include/mach/lowlevel.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-tegra/include/mach/lowlevel.h b/arch/arm/mach-tegra/include/mach/lowlevel.h
index 11d930b..cc346a0 100644
--- a/arch/arm/mach-tegra/include/mach/lowlevel.h
+++ b/arch/arm/mach-tegra/include/mach/lowlevel.h
@@ -78,6 +78,8 @@ enum tegra_chiptype tegra_get_chiptype(void)
switch ((hidrev & HIDREV_CHIPID_MASK) >> HIDREV_CHIPID_SHIFT) {
case 0x20:
return TEGRA20;
+ case 0x30:
+ return TEGRA30;
default:
return TEGRA_UNK_REV;
}
@@ -89,8 +91,6 @@ int tegra_get_num_cores(void)
switch (tegra_get_chiptype()) {
case TEGRA20:
return 2;
- case 0x30:
- return TEGRA30;
case TEGRA30:
return 4;
default:
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2014-02-27 8:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-27 8:49 Lucas Stach [this message]
2014-02-27 9:42 ` Sascha Hauer
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=1393490986-3866-1-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