diff options
author | imp <imp@FreeBSD.org> | 2012-06-22 05:54:34 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2012-06-22 05:54:34 +0000 |
commit | deb86d102def350cad181ecae0981d2f6e742898 (patch) | |
tree | 8596207e544e5ac9edc7216ee8c412e334b31687 | |
parent | c64bfa11c5dda6ea4608095808e4038be9a6c991 (diff) | |
download | FreeBSD-src-deb86d102def350cad181ecae0981d2f6e742898.zip FreeBSD-src-deb86d102def350cad181ecae0981d2f6e742898.tar.gz |
Move these #defines to at91reg.h (where I should have put them in the
first place).
-rw-r--r-- | sys/arm/at91/at91_machdep.c | 3 | ||||
-rw-r--r-- | sys/arm/at91/at91reg.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/arm/at91/at91_machdep.c b/sys/arm/at91/at91_machdep.c index 898d028..45cf7b9 100644 --- a/sys/arm/at91/at91_machdep.c +++ b/sys/arm/at91/at91_machdep.c @@ -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; /* diff --git a/sys/arm/at91/at91reg.h b/sys/arm/at91/at91reg.h index 0401291..475da60 100644 --- a/sys/arm/at91/at91reg.h +++ b/sys/arm/at91/at91reg.h @@ -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 */ |