Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C5ADC07E9A for ; Wed, 14 Jul 2021 14:49:02 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 96522613B2 for ; Wed, 14 Jul 2021 14:49:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 96522613B2 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4636C817D3; Wed, 14 Jul 2021 16:48:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="0smrgHzj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D6E1E81F74; Wed, 14 Jul 2021 15:43:52 +0200 (CEST) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D0ACC8033E for ; Wed, 14 Jul 2021 15:43:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Hari.PrasathGE@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1626270229; x=1657806229; h=from:to:cc:subject:date:message-id:mime-version; bh=x6Z48bRLiLrDQ/64O4n7I8+Skmhs1T6NfOBJuW2iiFU=; b=0smrgHzjjfil4S0kQ5IlyOInwJV5MU8lBANV7O0PZvP0YEtVKU+jTDAd YDfPhqn/IkFCF3x1IZltWfMONJQ86H1NGhkP9j2mn95q4h27kvtT+ojQz IU8qfyJCRaannBfXGxoeZPQZ2e1dzXx4N5/AcLIFX/10NpxI/I8HuQigw 0zwvzAis7kiZzsh0EHz5JYYABT+x+lVMO45O77uGry3rJQShbG0qs92sU XcbTXJHpZsHPYzj4ql4/DCQ/LivHMH73Of7ZkZNFkekk8ht12MipT9pg/ zO1mKuCM8cO8xe/+YP03o9NVngA6TbpsKTCkAg7L6GIxdsqX2N1muCE8I g==; IronPort-SDR: wYTKTfy4St1pW0GCieiJTEcpido+JW8qU+b1ZsGa2pz9Yq61PEEUxlYdjbA9fjNtRbOZ3wz1B/ SBGUmLXbNwV8+NWYs/woevrRpVV7IY0w+xyg0edpyH0B8QOrOzXRlKNg8ACJtK6d5Zv/CQ6D+J +ud4Nig8FiFyhvJNv1msdROWOAXuqddX0TF8i1K4cThSa+2amig71ThFVu8Xyc0jZqxf2EAV/Y 7qhrTMVI+cjJwM3Mf+MK5E7FBwrO8X8L1sQNmj54KXHxaLxRx3PvTHSMkXizXT71Se2o3jGLa6 on0= X-IronPort-AV: E=Sophos;i="5.84,239,1620716400"; d="scan'208";a="124547612" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 14 Jul 2021 06:43:47 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 14 Jul 2021 06:43:46 -0700 Received: from che-lt-i63539u.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Wed, 14 Jul 2021 06:43:44 -0700 From: Hari Prasath To: CC: , , Subject: [PATCH] ARM: at91: Add chip ID of SAMA5D29 Date: Wed, 14 Jul 2021 19:13:41 +0530 Message-ID: <20210714134341.2975-1-Hari.PrasathGE@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Wed, 14 Jul 2021 16:48:56 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Add SAMA5D29 SoC for identification during the boot up. Signed-off-by: Hari Prasath --- arch/arm/mach-at91/armv7/sama5d2_devices.c | 2 ++ arch/arm/mach-at91/include/mach/sama5d2.h | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/mach-at91/armv7/sama5d2_devices.c b/arch/arm/mach-at91/armv7/sama5d2_devices.c index 9e9d026c3e..edc20574c3 100644 --- a/arch/arm/mach-at91/armv7/sama5d2_devices.c +++ b/arch/arm/mach-at91/armv7/sama5d2_devices.c @@ -46,6 +46,8 @@ char *get_cpu_name(void) return "SAMA5D28-CU"; case ARCH_EXID_SAMA5D28CN: return "SAMA5D28-CN"; + case ARCH_EXID_SAMA5D29CN: + return "SAMA5D29-CN"; } } diff --git a/arch/arm/mach-at91/include/mach/sama5d2.h b/arch/arm/mach-at91/include/mach/sama5d2.h index d1b2e01cdd..9d9462725c 100644 --- a/arch/arm/mach-at91/include/mach/sama5d2.h +++ b/arch/arm/mach-at91/include/mach/sama5d2.h @@ -215,6 +215,7 @@ #define ARCH_EXID_SAMA5D27CN 0x00000021 #define ARCH_EXID_SAMA5D28CU 0x00000010 #define ARCH_EXID_SAMA5D28CN 0x00000020 +#define ARCH_EXID_SAMA5D29CN 0x00000023 #define ARCH_ID_SAMA5D2_SIP 0x8a5c08c2 #define ARCH_EXID_SAMA5D225C_D1M 0x00000053 -- 2.17.1