summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/tegra-common
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-03-27 09:37:02 +0000
committerTom Warren <twarren@nvidia.com>2013-04-15 11:01:37 -0700
commiteb222d1d7de5946501ed15c49f9d23bc05fc5a87 (patch)
tree7d35775ea230bbb6dde9183cc756220319b58886 /arch/arm/cpu/tegra-common
parentc4a4e2e20ca226948b62ed116df98f7a3932f2ac (diff)
downloadu-boot-imx-eb222d1d7de5946501ed15c49f9d23bc05fc5a87.zip
u-boot-imx-eb222d1d7de5946501ed15c49f9d23bc05fc5a87.tar.gz
u-boot-imx-eb222d1d7de5946501ed15c49f9d23bc05fc5a87.tar.bz2
ARM: tegra: support T33 SKU of Tegra30
Make U-Boot aware of the T33 SKU of Tegra30, and treat it identically to any other Tegra30. An alternative would be to simply remove the SKU checking from tegra_get_chip_type(); most use of the value most likely simply wants to know the current chip, not the specific SKU. Or, the function could be split into separate tegra_get_chip() and tegra_get_sku() for the cases where differentiation really is required. I wonder whether tegra_get_chip_type() should printf() whenever any unkown chip/SKU is found, although perhaps the function is called so early that the printf() wouldn't actually make it to the UART anyway. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu/tegra-common')
-rw-r--r--arch/arm/cpu/tegra-common/ap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/tegra-common/ap.c b/arch/arm/cpu/tegra-common/ap.c
index 236cda8..3f30805 100644
--- a/arch/arm/cpu/tegra-common/ap.c
+++ b/arch/arm/cpu/tegra-common/ap.c
@@ -65,6 +65,7 @@ int tegra_get_chip_type(void)
break;
case CHIPID_TEGRA30:
switch (tegra_sku_id) {
+ case SKU_ID_T33:
case SKU_ID_T30:
return TEGRA_SOC_T30;
}