aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_dmac.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-05-25 12:54:19 +0000
committerMike Frysinger <vapier@gentoo.org>2011-05-25 12:54:19 +0000
commitf2db709f4f9df667bb92816511bafd91636c46fd (patch)
tree1fca6804e83f0f17df921235a409e0c0bb14ff06 /sim/bfin/dv-bfin_dmac.h
parentc43aadcaa6c1b7f5c853276b347fd46f67e8ba09 (diff)
downloadgdb-f2db709f4f9df667bb92816511bafd91636c46fd.zip
gdb-f2db709f4f9df667bb92816511bafd91636c46fd.tar.gz
gdb-f2db709f4f9df667bb92816511bafd91636c46fd.tar.bz2
sim: bfin: move model data into machs.h
Pull the model data (register addresses/sizes) out of the different model files and into the machs.h header. The models themselves don't care about where they're mapped, only the mach code does. This allows us to keep the model headers from being included in the mach code which can cause issues with model-specific names colliding. Such as when a newer device model is created, but with incompatible register names/layouts. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/dv-bfin_dmac.h')
-rw-r--r--sim/bfin/dv-bfin_dmac.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sim/bfin/dv-bfin_dmac.h b/sim/bfin/dv-bfin_dmac.h
index dfe9535..33fd829 100644
--- a/sim/bfin/dv-bfin_dmac.h
+++ b/sim/bfin/dv-bfin_dmac.h
@@ -21,9 +21,6 @@
#ifndef DV_BFIN_DMAC_H
#define DV_BFIN_DMAC_H
-#define BFIN_MMR_DMAC0_BASE 0xFFC00C00
-#define BFIN_MMR_DMAC1_BASE 0xFFC01C00
-
#define BFIN_DMAC_MDMA_BASE 0x100
struct hw *bfin_dmac_get_peer (struct hw *dma, bu16 pmap);