summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91sam9g45reg.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-01-31 15:38:05 +0000
committerimp <imp@FreeBSD.org>2014-01-31 15:38:05 +0000
commit9190257f1a260a4d61b397c99c7fdd219464be13 (patch)
tree431ccebf5b12ed89d9d0e5b90c6c774f379527c4 /sys/arm/at91/at91sam9g45reg.h
parent3f99ec60916b6b854460761559605c52dcb65f21 (diff)
downloadFreeBSD-src-9190257f1a260a4d61b397c99c7fdd219464be13.zip
FreeBSD-src-9190257f1a260a4d61b397c99c7fdd219464be13.tar.gz
Switch to using PAs rather than VAs for the addresses we map for
devices. This is a nop, except for what's reported by atmelbus for the resources. It would be nice if we could dymanically allocated these things, but the pmap_mapdev panics if we don't keep the static mappings, so we still need to play the carefully allocate VA space between all supported SoC game. User's with their own devices may need to make adjustments.
Diffstat (limited to 'sys/arm/at91/at91sam9g45reg.h')
-rw-r--r--sys/arm/at91/at91sam9g45reg.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arm/at91/at91sam9g45reg.h b/sys/arm/at91/at91sam9g45reg.h
index 86574b3..a92e3b9 100644
--- a/sys/arm/at91/at91sam9g45reg.h
+++ b/sys/arm/at91/at91sam9g45reg.h
@@ -243,13 +243,13 @@
* other * soc's so phyical and vm address
* mapping are unique. XXX
*/
-#define AT91SAM9G45_OHCI_BASE 0xdfb00000
-#define AT91SAM9G45_OHCI_PA_BASE 0x00700000
-#define AT91SAM9G45_OHCI_SIZE 0x00100000
+#define AT91SAM9G45_OHCI_VA_BASE 0xdfb00000
+#define AT91SAM9G45_OHCI_BASE 0x00700000
+#define AT91SAM9G45_OHCI_SIZE 0x00100000
-#define AT91SAM9G45_NAND_BASE 0xe0000000
-#define AT91SAM9G45_NAND_PA_BASE 0x40000000
-#define AT91SAM9G45_NAND_SIZE 0x10000000
+#define AT91SAM9G45_NAND_VA_BASE 0xe0000000
+#define AT91SAM9G45_NAND_BASE 0x40000000
+#define AT91SAM9G45_NAND_SIZE 0x10000000
/* DDRSDRC */
OpenPOWER on IntegriCloud