Patchwork [U-Boot,1/2] ARM: tegra: support SKU 1 of Tegra114

login
register
mail settings
Submitter Stephen Warren
Date May 18, 2013, 12:10 a.m.
Message ID <1368835815-13638-1-git-send-email-swarren@wwwdotorg.org>
Download mbox | patch
Permalink /patch/244718/
State Accepted
Delegated to: Tom Warren
Headers show

Comments

Stephen Warren - May 18, 2013, 12:10 a.m.
From: Stephen Warren <swarren@nvidia.com>

Make U-Boot aware of the Tegra114 SKU 1, and treat it identically
to any other Tegra114.

This value is used on (at least some) Dalmore boards with a production
rather than engineering chip. Such boards are in the hands of some
partners who want to use upstream U-Boot.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/cpu/tegra-common/ap.c          |    1 +
 arch/arm/include/asm/arch-tegra/tegra.h |    1 +
 2 files changed, 2 insertions(+)

Patch

diff --git a/arch/arm/cpu/tegra-common/ap.c b/arch/arm/cpu/tegra-common/ap.c
index 9b77b2b..d7d1df1 100644
--- a/arch/arm/cpu/tegra-common/ap.c
+++ b/arch/arm/cpu/tegra-common/ap.c
@@ -92,6 +92,7 @@  int tegra_get_chip_sku(void)
 	case CHIPID_TEGRA114:
 		switch (sku_id) {
 		case SKU_ID_T114_ENG:
+		case SKU_ID_T114_1:
 			return TEGRA_SOC_T114;
 		}
 		break;
diff --git a/arch/arm/include/asm/arch-tegra/tegra.h b/arch/arm/include/asm/arch-tegra/tegra.h
index 3e642e9..8f73725 100644
--- a/arch/arm/include/asm/arch-tegra/tegra.h
+++ b/arch/arm/include/asm/arch-tegra/tegra.h
@@ -81,6 +81,7 @@  enum {
 	SKU_ID_T33		= 0x80,
 	SKU_ID_T30		= 0x81, /* Cardhu value */
 	SKU_ID_T114_ENG		= 0x00, /* Dalmore value, unfused */
+	SKU_ID_T114_1		= 0x01,
 };
 
 /*