From patchwork Thu Aug 11 06:02:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 658042 X-Patchwork-Delegate: sbabic@denx.de 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 3s8yWH3DHKz9sXx for ; Thu, 11 Aug 2016 16:18:19 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Vk5kk08s; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EBA704B951; Thu, 11 Aug 2016 08:17:57 +0200 (CEST) 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 OLMyEMUzjl7L; Thu, 11 Aug 2016 08:17:44 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D5E874B801; Thu, 11 Aug 2016 08:17:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 629684B853 for ; Thu, 11 Aug 2016 08:04:55 +0200 (CEST) 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 LgBsAzi49DZT for ; Thu, 11 Aug 2016 08:04:55 +0200 (CEST) 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 mail-pa0-f68.google.com (mail-pa0-f68.google.com [209.85.220.68]) by theia.denx.de (Postfix) with ESMTPS id 9B6C54B94B for ; Thu, 11 Aug 2016 08:03:31 +0200 (CEST) Received: by mail-pa0-f68.google.com with SMTP id ez1so4120930pab.3 for ; Wed, 10 Aug 2016 23:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YFZnl1S3KMczLPIrbUHQYSiiI4sbJ+bIBjPJI09TQ7o=; b=Vk5kk08sb6snZ5SSmrf7iZSPxEia1sVyJwCGVq0Uez9gWk9sQ18SW5qXdP+6PwJdOj xeevQoVJWlJTakSDM7vOS7KWk9sBn+bcbq+aG1604IkWxu36gmV6JXGrImP7zK5cJ5qs LPoGp9x7FAb7cCl/hisQkQyZ+yEWk73987SkzTfwGJ87BwG11EFGlM1vs+Dz+liN3fcT rv7TvbKOC7EwTw7QoGTPQr8ElZrUN7EcFeo4qYvHF0spHa3Ugx0MGeNtYEyxON8Xb0eM yUNOs7SfGIT0Vb0pc35DF0IghmS+3ed4IE/pOIomnjgjMqfgO6CwY7rnBQApD1tmFjVq 3q0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YFZnl1S3KMczLPIrbUHQYSiiI4sbJ+bIBjPJI09TQ7o=; b=bgDar0RVvfB+hcRB/5haBYJKti3suVdAgX88av7bXRusQ/WoMQc+V2afdDaNtCdlfK 7Tb04YTSJMObN2tSjqp0faIk4weSHwIAZjywll6HZiODsCCXcvvTAcXO+POCUntYHxlG JyaIRju/AKS4Q5mEu6BL5Rucx31YFSsb15KzwJF5+nCbrjgRk5D+R3R8jSmYI/L6ZqjC y5PoSgpd5IMpPv2Woc6WlIzU2QVvwz+xat7cSd3ZxkPPR0xtxWYwq5ypjh6twAFheCva HOAcB/sIELjY4wiFCLuV/tWemfh2/lVYuGsSFX/JTXxfPxeOPeGRVMMBG16cEnwdrZ+v PO5w== X-Gm-Message-State: AEkooutgjCZ8eVBZKh0IoIwPUjqWkzBzEdPZ22lZZEnEibQVGKXCGtXi3aVdKXVvmVC0LQ== X-Received: by 10.66.139.227 with SMTP id rb3mr14080784pab.26.1470895404058; Wed, 10 Aug 2016 23:03:24 -0700 (PDT) Received: from linux-7smt.suse (gate-zmy3.freescale.com. [192.88.167.1]) by smtp.gmail.com with ESMTPSA id r2sm1677258pal.14.2016.08.10.23.03.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Aug 2016 23:03:23 -0700 (PDT) From: Peng Fan X-Google-Original-From: Peng Fan To: sbabic@denx.de Date: Thu, 11 Aug 2016 14:02:40 +0800 Message-Id: <1470895377-2502-5-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1470895377-2502-1-git-send-email-peng.fan@nxp.com> References: <1470895377-2502-1-git-send-email-peng.fan@nxp.com> Cc: fabio.estevam@nxp.com, u-boot@lists.denx.de Subject: [U-Boot] [PATCH 04/21] imx-common: introduce is_mx6ull X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Introduce is_mx6ull macro. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/imx-common/sys_proto.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/imx-common/sys_proto.h b/arch/arm/include/asm/imx-common/sys_proto.h index 32f95b3..6ace8bb 100644 --- a/arch/arm/include/asm/imx-common/sys_proto.h +++ b/arch/arm/include/asm/imx-common/sys_proto.h @@ -33,6 +33,7 @@ #define is_mx6sx() (is_cpu_type(MXC_CPU_MX6SX)) #define is_mx6sl() (is_cpu_type(MXC_CPU_MX6SL)) #define is_mx6ul() (is_cpu_type(MXC_CPU_MX6UL)) +#define is_mx6ull() (is_cpu_type(MXC_CPU_MX6ULL)) u32 get_nr_cpus(void); u32 get_cpu_rev(void);