summaryrefslogtreecommitdiff
path: root/src/dev/arm/pl011.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@arm.com>2010-08-23 11:18:40 -0500
committerAli Saidi <Ali.Saidi@arm.com>2010-08-23 11:18:40 -0500
commitc0ca01ec368cc02bbc9e2d14e93183fe263ee09b (patch)
treefba0726eb20ac03f40e090e1f8f25f3845ac053f /src/dev/arm/pl011.hh
parent330fada1aa8fa3134c97ef44aba5a84d8620b8ae (diff)
downloadgem5-c0ca01ec368cc02bbc9e2d14e93183fe263ee09b.tar.xz
ARM: Change how the AMBA device ID checking is done to make it more generic
Diffstat (limited to 'src/dev/arm/pl011.hh')
-rw-r--r--src/dev/arm/pl011.hh9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/dev/arm/pl011.hh b/src/dev/arm/pl011.hh
index 63289fc38..ddfd8305b 100644
--- a/src/dev/arm/pl011.hh
+++ b/src/dev/arm/pl011.hh
@@ -58,6 +58,7 @@ class Gic;
class Pl011 : public Uart
{
protected:
+ static const uint64_t AMBA_ID = ULL(0xb105f00d00341011);
static const int UART_DR = 0x000;
static const int UART_FR = 0x018;
static const int UART_FR_CTS = 0x001;
@@ -72,14 +73,6 @@ class Pl011 : public Uart
static const int UART_RIS = 0x03C;
static const int UART_MIS = 0x040;
static const int UART_ICR = 0x044;
- static const int UART_PER_ID0 = 0xFE0;
- static const int UART_PER_ID1 = 0xFE4;
- static const int UART_PER_ID2 = 0xFE8;
- static const int UART_PER_ID3 = 0xFEC;
- static const int UART_CEL_ID0 = 0xFF0;
- static const int UART_CEL_ID1 = 0xFF4;
- static const int UART_CEL_ID2 = 0xFF8;
- static const int UART_CEL_ID3 = 0xFFC;
uint16_t control;