summaryrefslogtreecommitdiffstats
path: root/bsps/arm/gumstix/start/memmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/gumstix/start/memmap.c')
-rw-r--r--bsps/arm/gumstix/start/memmap.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/bsps/arm/gumstix/start/memmap.c b/bsps/arm/gumstix/start/memmap.c
new file mode 100644
index 0000000000..8923083576
--- /dev/null
+++ b/bsps/arm/gumstix/start/memmap.c
@@ -0,0 +1,17 @@
+/*
+ * Gumstix Memory Map
+ * 2008 By Yang Xi <hiyangxi@gmail.com>
+ * Copyright (c) 2004 by Cogent Computer Systems
+ * Written by Jay Monkman <jtm@lopingdog.com>
+ */
+
+#include <rtems.h>
+#include <libcpu/mmu.h>
+
+mmu_sect_map_t mem_map[] = {
+/* <phys addr> <virt addr> <size> <flags> */
+ {0x40000000, 0x40000000, 1216, MMU_CACHE_NONE}, /*Map I/O*/
+ {0xA0000000, 0x00000000, 1, MMU_CACHE_NONE}, /*sram*/
+ {0xA0000000, 0xA0000000, 64, MMU_CACHE_WBACK}, /* SDRAM */
+ {0x00000000, 0x00000000, 0, 0} /* The end */
+};