Skip to contentSkip to conversation

fixup! tegra: add Tegra3 to relevant lowlevel functions

PATCH In review Lucas Stach 2 participants 2 messages Feb 27, 2014

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup! tegra: add Tegra3 to relevant lowlevel functions

---
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(-)
arch/arm/mach-tegra/include/mach/lowlevel.h +2 -2
index 11d930b..cc346a0 100644
@@ -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:
Signature · 7 lines
1.8.5.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw
Quoted 5 lines · Lucas Stach

---
This got messed up while applying. You may want to squash this in while the original patch still sits in -next.

Just did that.

Sascha

Quoted 35 lines
---
 arch/arm/mach-tegra/include/mach/lowlevel.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-tegra/include/mach/lowlevel.h +2 -2
index 11d930b..cc346a0 100644
@@ -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:
Signature · 7 lines
1.8.5.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox