From patchwork Wed Nov 13 16:27:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alban Bedel X-Patchwork-Id: 290986 X-Patchwork-Delegate: twarren@nvidia.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 00A552C0087 for ; Thu, 14 Nov 2013 03:28:23 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E5C354A987; Wed, 13 Nov 2013 17:28:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o-ddGovEu5mg; Wed, 13 Nov 2013 17:28:21 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id ED5524A99B; Wed, 13 Nov 2013 17:28:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 46DC14A994 for ; Wed, 13 Nov 2013 17:27:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NqV1LjRYhsIr for ; Wed, 13 Nov 2013 17:27:52 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by theia.denx.de (Postfix) with ESMTPS id 2B8514A985 for ; Wed, 13 Nov 2013 17:27:46 +0100 (CET) Received: from mailbox.adnet.avionic-design.de (mailbox.avionic-design.de [109.75.18.3]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MRybG-1W8hyz2SKo-00TQIX; Wed, 13 Nov 2013 17:27:39 +0100 Received: from localhost (localhost [127.0.0.1]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id F34ED2A28207; Wed, 13 Nov 2013 17:27:38 +0100 (CET) X-Virus-Scanned: amavisd-new at avionic-design.de Received: from mailbox.adnet.avionic-design.de ([127.0.0.1]) by localhost (mailbox.avionic-design.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VmtNXnWnsFho; Wed, 13 Nov 2013 17:27:37 +0100 (CET) Received: from mailman.adnet.avionic-design.de (mailman.adnet.avionic-design.de [172.20.31.172]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id 215462A28202; Wed, 13 Nov 2013 17:27:37 +0100 (CET) Received: from avionic-0020.mockup.avionic-design.de (avionic-0020.adnet.avionic-design.de [172.20.31.243]) by mailman.adnet.avionic-design.de (Postfix) with ESMTP id EA4CC100C17; Wed, 13 Nov 2013 17:27:35 +0100 (CET) From: Alban Bedel To: u-boot@lists.denx.de Date: Wed, 13 Nov 2013 17:27:18 +0100 Message-Id: <1384360040-21362-2-git-send-email-alban.bedel@avionic-design.de> X-Mailer: git-send-email 1.8.4.2 In-Reply-To: <1384360040-21362-1-git-send-email-alban.bedel@avionic-design.de> References: <1384360040-21362-1-git-send-email-alban.bedel@avionic-design.de> X-Provags-ID: V02:K0:6SSxpF6rg9ZGC7YoUe5Ayiml7n45ji/EuYf4WSU/Obv XjaP0xrWBFgI2ZwVoM1qeY4rBmVKNRk+/LfvcnxdJ4dwY6QXjZ vVCd6PJzfZc/37qj1Xia+o6RRqo1yceh2V4JoG5InHp/vhyKTe QcH/zsbcLwTcMZ/8Mr+MXzfWXTw7nHc0YZM//MdF4cDV7lQcST DLbqP5ucCw0SLYY1EErbYYC+vHxR5MnmvlRt2j8H2Nvm1EYGsL e0620KKJA1tUobh8iEhr1kWkcITiTaMMzXIyI82VzfuZ9prREI sodndYhKy5161lSJh/5ggyMt3ir59n9yi6CaLZq+JkixTzjAmC YN/tSF8CgIJrFT6sK2cp2lWZAWGQ9H8t3RTF38QJbpt+ekmSOH xGbhvm196w5z1V+Zj5Tfv0YYQ3ELoYpbrqhl1tulotYadx9zd7 /vR5Y Cc: julian.scheel@avionic-design.de, Alban Bedel , Tom Warren Subject: [U-Boot] [PATCH v4 1/3] ARM: tegra: support SKU b1 of Tegra30 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Add the Tegra30 SKU b1 and treat it like other Tegra30 chips. Signed-off-by: Alban Bedel Reviewed-by: Julian Scheel --- V4: Renamed SKU_ID_TM30MQS_A3 to SKU_ID_TM30MQS_P_A3, according to Thierry Reding this ID should be better suited as there is another TM30MQS variant with another SKU. Signed-off-by: Alban Bedel --- arch/arm/cpu/tegra-common/ap.c | 1 + arch/arm/include/asm/arch-tegra/tegra.h | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/cpu/tegra-common/ap.c b/arch/arm/cpu/tegra-common/ap.c index 6fb11cb..60d71a6 100644 --- a/arch/arm/cpu/tegra-common/ap.c +++ b/arch/arm/cpu/tegra-common/ap.c @@ -71,6 +71,7 @@ int tegra_get_chip_sku(void) switch (sku_id) { case SKU_ID_T33: case SKU_ID_T30: + case SKU_ID_TM30MQS_P_A3: return TEGRA_SOC_T30; } break; diff --git a/arch/arm/include/asm/arch-tegra/tegra.h b/arch/arm/include/asm/arch-tegra/tegra.h index 25d1fc4..e99f681 100644 --- a/arch/arm/include/asm/arch-tegra/tegra.h +++ b/arch/arm/include/asm/arch-tegra/tegra.h @@ -65,6 +65,7 @@ enum { SKU_ID_T25E = 0x1c, SKU_ID_T33 = 0x80, SKU_ID_T30 = 0x81, /* Cardhu value */ + SKU_ID_TM30MQS_P_A3 = 0xb1, SKU_ID_T114_ENG = 0x00, /* Dalmore value, unfused */ SKU_ID_T114_1 = 0x01, };