summaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_wdog.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
commitabc6ef52b2dcc19aaea9d24245680847d46aa63a (patch)
tree746347e1b2b5532c20de980d128cebd7f9ec9255 /sim/bfin/dv-bfin_wdog.h
parent4a56deb7d50ffd520232bc93818aab720cfd9757 (diff)
downloadgdb-abc6ef52b2dcc19aaea9d24245680847d46aa63a.tar.gz
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_wdog.h')
-rw-r--r--sim/bfin/dv-bfin_wdog.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_wdog.h b/sim/bfin/dv-bfin_wdog.h
index 9be602dbd3b..915bb0707cc 100644
--- a/sim/bfin/dv-bfin_wdog.h
+++ b/sim/bfin/dv-bfin_wdog.h
@@ -21,8 +21,6 @@
#ifndef DV_BFIN_WDOG_H
#define DV_BFIN_WDOG_H
-#define BFIN_MMR_WDOG_SIZE (4 * 3)
-
/* WDOG_CTL */
#define WDEV 0x0006 /* event generated on roll over */
#define WDEV_RESET 0x0000 /* generate reset event on roll over */