Explorar o código

ARM: tegra: support SKU 1 of Tegra114

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>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Stephen Warren %!s(int64=12) %!d(string=hai) anos
pai
achega
840167c2c2
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      arch/arm/cpu/tegra-common/ap.c
  2. 1 0
      arch/arm/include/asm/arch-tegra/tegra.h

+ 1 - 0
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;

+ 1 - 0
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,
 };
 
 /*