Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2012 05:54:34 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r237429 - head/sys/arm/at91
Message-ID:  <201206220554.q5M5sYwY059523@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Jun 22 05:54:34 2012
New Revision: 237429
URL: http://svn.freebsd.org/changeset/base/237429

Log:
  Move these #defines to at91reg.h (where I should have put them in the
  first place).

Modified:
  head/sys/arm/at91/at91_machdep.c
  head/sys/arm/at91/at91reg.h

Modified: head/sys/arm/at91/at91_machdep.c
==============================================================================
--- head/sys/arm/at91/at91_machdep.c	Fri Jun 22 05:48:53 2012	(r237428)
+++ head/sys/arm/at91/at91_machdep.c	Fri Jun 22 05:54:34 2012	(r237429)
@@ -281,9 +281,6 @@ static const char *soc_subtype_name[] = 
 	[AT91_ST_SAM9X35] = "at91sam9x35",
 };
 
-#define AT91_DBGU0	0x0ffff200	/* Most */
-#define AT91_DBGU1	0x0fffee00	/* SAM9263, CAP9, and SAM9G45 */
-
 struct at91_soc_info soc_data;
 
 /*

Modified: head/sys/arm/at91/at91reg.h
==============================================================================
--- head/sys/arm/at91/at91reg.h	Fri Jun 22 05:48:53 2012	(r237428)
+++ head/sys/arm/at91/at91reg.h	Fri Jun 22 05:54:34 2012	(r237429)
@@ -46,6 +46,9 @@
 #define	AT91_SYS_BASE	0xffff000
 #define	AT91_SYS_SIZE	0x1000
 
+#define AT91_DBGU0	0x0ffff200	/* Most */
+#define AT91_DBGU1	0x0fffee00	/* SAM9263, CAP9, and SAM9G45 */
+
 #define	AT91_DBGU_SIZE	0x200
 #define	DBGU_C1R		(64) /* Chip ID1 Register */
 #define	DBGU_C2R		(68) /* Chip ID2 Register */



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