diff options
author | Ali Saidi <Ali.Saidi@arm.com> | 2010-08-23 11:18:40 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@arm.com> | 2010-08-23 11:18:40 -0500 |
commit | c0ca01ec368cc02bbc9e2d14e93183fe263ee09b (patch) | |
tree | fba0726eb20ac03f40e090e1f8f25f3845ac053f /src/dev/arm/pl011.hh | |
parent | 330fada1aa8fa3134c97ef44aba5a84d8620b8ae (diff) | |
download | gem5-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.hh | 9 |
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; |