[PATCH] fixup! tegra: add Tegra3 to relevant lowlevel functions
Lucas Stach
dev at lynxeye.de
Thu Feb 27 03:49:46 EST 2014
Signed-off-by: Lucas Stach <dev at 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
More information about the barebox
mailing list