]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra: support SKU 7 of Tegra20
authorStephen Warren <swarren@nvidia.com>
Fri, 17 May 2013 14:10:15 +0000 (14:10 +0000)
committerTom Warren <twarren@nvidia.com>
Tue, 28 May 2013 19:58:43 +0000 (12:58 -0700)
Make U-Boot aware of the Tegra20 SKU 7, and treat it identically
to any other Tegra20.

My Whistler board has a SoC with this SKU.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/tegra-common/ap.c
arch/arm/include/asm/arch-tegra/tegra.h

index d7d1df1b13805af637b5f830307ea8e49df09a68..e099683890457797188f30bb39c820cfccc682d5 100644 (file)
@@ -72,6 +72,7 @@ int tegra_get_chip_sku(void)
        switch (chip_id) {
        case CHIPID_TEGRA20:
                switch (sku_id) {
+               case SKU_ID_T20_7:
                case SKU_ID_T20:
                        return TEGRA_SOC_T20;
                case SKU_ID_T25SE:
index 8f73725eb5d8482b5f0c1ce013fda05ac1179901..5fe4838d9beaefe88bc984aa8ee66ceb7c4d2602 100644 (file)
@@ -72,6 +72,7 @@ struct timerus {
 
 /* These are the available SKUs (product types) for Tegra */
 enum {
+       SKU_ID_T20_7            = 0x7,
        SKU_ID_T20              = 0x8,
        SKU_ID_T25SE            = 0x14,
        SKU_ID_AP25             = 0x17,