From f2db709f4f9df667bb92816511bafd91636c46fd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 25 May 2011 12:54:19 +0000 Subject: 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 --- sim/bfin/dv-bfin_cec.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'sim/bfin/dv-bfin_cec.h') diff --git a/sim/bfin/dv-bfin_cec.h b/sim/bfin/dv-bfin_cec.h index 027c893..5960da2 100644 --- a/sim/bfin/dv-bfin_cec.h +++ b/sim/bfin/dv-bfin_cec.h @@ -23,9 +23,6 @@ #include "sim-main.h" -#define BFIN_COREMMR_CEC_BASE 0xFFE02100 -#define BFIN_COREMMR_CEC_SIZE (4 * 5) - /* 0xFFE02100 ... 0xFFE02110 */ #define BFIN_COREMMR_EVT_OVERRIDE (BFIN_COREMMR_CEC_BASE + (4 * 0)) #define BFIN_COREMMR_IMASK (BFIN_COREMMR_CEC_BASE + (4 * 1)) -- cgit v1.1