Date: Tue, 21 Feb 2012 02:30:19 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r231955 - projects/armv6/sys/arm/ti Message-ID: <201202210230.q1L2UJ04078327@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202210230.q1L2UJ04078327>