diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-05-25 12:54:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-05-25 12:54:19 +0000 |
commit | f2db709f4f9df667bb92816511bafd91636c46fd (patch) | |
tree | 1fca6804e83f0f17df921235a409e0c0bb14ff06 /sim/bfin/dv-bfin_otp.h | |
parent | c43aadcaa6c1b7f5c853276b347fd46f67e8ba09 (diff) | |
download | gdb-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_otp.h')
-rw-r--r-- | sim/bfin/dv-bfin_otp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sim/bfin/dv-bfin_otp.h b/sim/bfin/dv-bfin_otp.h index bbb49ce..3a0f5d0 100644 --- a/sim/bfin/dv-bfin_otp.h +++ b/sim/bfin/dv-bfin_otp.h @@ -21,12 +21,6 @@ #ifndef DV_BFIN_OTP_H #define DV_BFIN_OTP_H -/* XXX: This should be pushed into the model data. */ -/* XXX: Not exactly true; it's two sets of 4 regs near each other: - 0xFFC03600 0x10 - Control - 0xFFC03680 0x10 - Data */ -#define BFIN_MMR_OTP_SIZE 0xa0 - /* OTP Defined Pages. */ #define FPS00 0x004 #define FPS01 0x005 |