Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 23:08:31 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257478 - head/sys/arm/freescale/imx
Message-ID:  <201310312308.r9VN8VGR001104@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Thu Oct 31 23:08:30 2013
New Revision: 257478
URL: http://svnweb.freebsd.org/changeset/base/257478

Log:
  Add definitions for the register and data that describes the SoC type.
  This isn't in the chip reference manuals, it was found in u-boot and
  various old mailing list threads.

Modified:
  head/sys/arm/freescale/imx/imx6_anatopreg.h

Modified: head/sys/arm/freescale/imx/imx6_anatopreg.h
==============================================================================
--- head/sys/arm/freescale/imx/imx6_anatopreg.h	Thu Oct 31 23:06:04 2013	(r257477)
+++ head/sys/arm/freescale/imx/imx6_anatopreg.h	Thu Oct 31 23:08:30 2013	(r257478)
@@ -122,7 +122,9 @@
 #define	IMX6_ANALOG_USB2_MISC_CLR			0x258
 #define	IMX6_ANALOG_USB2_MISC_TOG			0x25C
 #define	IMX6_ANALOG_DIGPROG				0x260
-
-
+#define	IMX6_ANALOG_DIGPROG_SL				0x280
+#define	  IMX6_ANALOG_DIGPROG_SOCTYPE_SHIFT		  16
+#define	  IMX6_ANALOG_DIGPROG_SOCTYPE_MASK		  \
+    (0xff << IMX6_ANALOG_DIGPROG_SOCTYPE_SHIFT)
 
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310312308.r9VN8VGR001104>