aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2014-05-08 10:13:01 +0100
committerdanh-arm <dan.handley@arm.com>2014-05-08 10:13:01 +0100
commitaefebcc35ac0abd7ecf1a844b467331a600d4574 (patch)
treec0ff339a647792581fb8881ec1091ab0f4747203
parente404d7f44a190b82332bb96daffa0c6239732218 (diff)
parent31bce47e4e3f9850ab618ce3f2119963eb73f7b3 (diff)
downloadarm-trusted-firmware-aefebcc35ac0abd7ecf1a844b467331a600d4574.tar.gz
Merge pull request #57 from sandrine-bailleux/sb/remove-pl011-base
Remove unused 'PL011_BASE' macro
-rw-r--r--include/drivers/arm/pl011.h4
-rw-r--r--plat/fvp/platform.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/include/drivers/arm/pl011.h b/include/drivers/arm/pl011.h
index 28aef54..1254920 100644
--- a/include/drivers/arm/pl011.h
+++ b/include/drivers/arm/pl011.h
@@ -78,10 +78,6 @@
#define PL011_UARTCR_LBE (1 << 7) /* Loopback enable */
#define PL011_UARTCR_UARTEN (1 << 0) /* UART Enable */
-#if !defined(PL011_BASE)
-#error "The PL011_BASE macro must be defined."
-#endif
-
#if !defined(PL011_BAUDRATE)
#define PL011_BAUDRATE 115200
#endif
diff --git a/plat/fvp/platform.h b/plat/fvp/platform.h
index 1f4e432..06bda79 100644
--- a/plat/fvp/platform.h
+++ b/plat/fvp/platform.h
@@ -298,7 +298,6 @@
#define PL011_UART1_BASE 0x1c0a0000
#define PL011_UART2_BASE 0x1c0b0000
#define PL011_UART3_BASE 0x1c0c0000
-#define PL011_BASE PL011_UART0_BASE
/*******************************************************************************