aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/machs.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-09 06:13:06 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-09 06:13:06 +0000
commit050396e533308f4d1c6ed55105a81eff1f402b9f (patch)
treed1d82eda34bf9c33bedadf6fb1e39a11033a1657 /sim/bfin/machs.h
parent07c5891d6c3870428a93b48b19b81d9ae5482059 (diff)
downloadgdb-050396e533308f4d1c6ed55105a81eff1f402b9f.zip
gdb-050396e533308f4d1c6ed55105a81eff1f402b9f.tar.gz
gdb-050396e533308f4d1c6ed55105a81eff1f402b9f.tar.bz2
sim: bfin: new PINT model
Newer BF54x parts feature an updated GPIO block where all the interrupt handling is split off, so create a new model for the pin interrupts. This is missing the port forwarding aspects, but at least the register interface should be there. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/machs.h')
-rw-r--r--sim/bfin/machs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/bfin/machs.h b/sim/bfin/machs.h
index e37d2c7..27a8656 100644
--- a/sim/bfin/machs.h
+++ b/sim/bfin/machs.h
@@ -89,6 +89,7 @@ enum {
0xFFC03600 0x10 - Control
0xFFC03680 0x10 - Data */
#define BFIN_MMR_OTP_SIZE 0xa0
+#define BFIN_MMR_PINT_SIZE 0x28
#define BFIN_MMR_PLL_BASE 0xFFC00000
#define BFIN_MMR_PLL_SIZE (4 * 6)
#define BFIN_MMR_PPI_SIZE (4 * 5)