From owner-svn-src-projects@FreeBSD.ORG Tue Feb 21 02:30:20 2012 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F404B106564A; Tue, 21 Feb 2012 02:30:19 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C53908FC08; Tue, 21 Feb 2012 02:30:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q1L2UJnr078329; Tue, 21 Feb 2012 02:30:19 GMT (envelope-from gonzo@svn.freebsd.org) Received: (from gonzo@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q1L2UJ04078327; Tue, 21 Feb 2012 02:30:19 GMT (envelope-from gonzo@svn.freebsd.org) Message-Id: <201202210230.q1L2UJ04078327@svn.freebsd.org> From: Oleksandr Tymoshenko Date: Tue, 21 Feb 2012 02:30:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r231955 - projects/armv6/sys/arm/ti X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 02:30:20 -0000 Author: gonzo Date: Tue Feb 21 02:30:19 2012 New Revision: 231955 URL: http://svn.freebsd.org/changeset/base/231955 Log: Add constants for OMAP4400 and OMAP3530 devices Modified: projects/armv6/sys/arm/ti/ti_cpuid.h Modified: projects/armv6/sys/arm/ti/ti_cpuid.h ============================================================================== --- projects/armv6/sys/arm/ti/ti_cpuid.h Tue Feb 21 01:46:41 2012 (r231954) +++ projects/armv6/sys/arm/ti/ti_cpuid.h Tue Feb 21 02:30:19 2012 (r231955) @@ -36,18 +36,20 @@ #define OMAP_REV_MINOR(x) (((x) >> 4) & 0xf) #define OMAP_REV_MINOR_MINOR(x) (((x) >> 0) & 0xf) -#define OMAP3350_REV_ES1_0 OMAP_MAKEREV(0x3530, 1, 0, 0) -#define OMAP3530_REV_ES2_0 OMAP_MAKEREV(0x3530, 2, 0, 0) -#define OMAP3530_REV_ES2_1 OMAP_MAKEREV(0x3530, 2, 1, 0) -#define OMAP3530_REV_ES3_0 OMAP_MAKEREV(0x3530, 3, 0, 0) -#define OMAP3530_REV_ES3_1 OMAP_MAKEREV(0x3530, 3, 1, 0) -#define OMAP3530_REV_ES3_1_2 OMAP_MAKEREV(0x3530, 3, 1, 2) - -#define OMAP4430_REV_ES1_0 OMAP_MAKEREV(0x4430, 1, 0, 0) -#define OMAP4430_REV_ES2_0 OMAP_MAKEREV(0x4430, 2, 0, 0) -#define OMAP4430_REV_ES2_1 OMAP_MAKEREV(0x4430, 2, 1, 0) -#define OMAP4430_REV_ES2_2 OMAP_MAKEREV(0x4430, 2, 2, 0) -#define OMAP4430_REV_ES2_3 OMAP_MAKEREV(0x4430, 2, 3, 0) +#define OMAP3350_DEV 0x3530 +#define OMAP3350_REV_ES1_0 OMAP_MAKEREV(OMAP3350_DEV, 1, 0, 0) +#define OMAP3530_REV_ES2_0 OMAP_MAKEREV(OMAP3350_DEV, 2, 0, 0) +#define OMAP3530_REV_ES2_1 OMAP_MAKEREV(OMAP3350_DEV, 2, 1, 0) +#define OMAP3530_REV_ES3_0 OMAP_MAKEREV(OMAP3350_DEV, 3, 0, 0) +#define OMAP3530_REV_ES3_1 OMAP_MAKEREV(OMAP3350_DEV, 3, 1, 0) +#define OMAP3530_REV_ES3_1_2 OMAP_MAKEREV(OMAP3350_DEV, 3, 1, 2) + +#define OMAP4430_DEV 0x4430 +#define OMAP4430_REV_ES1_0 OMAP_MAKEREV(OMAP4430_DEV, 1, 0, 0) +#define OMAP4430_REV_ES2_0 OMAP_MAKEREV(OMAP4430_DEV, 2, 0, 0) +#define OMAP4430_REV_ES2_1 OMAP_MAKEREV(OMAP4430_DEV, 2, 1, 0) +#define OMAP4430_REV_ES2_2 OMAP_MAKEREV(OMAP4430_DEV, 2, 2, 0) +#define OMAP4430_REV_ES2_3 OMAP_MAKEREV(OMAP4430_DEV, 2, 3, 0) #define AM335X_DEVREV(x) ((x) >> 28)