svn commit: r237429 - head/sys/arm/at91
Warner Losh
imp at FreeBSD.org
Fri Jun 22 05:54:34 UTC 2012
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 */
More information about the svn-src-head
mailing list