From 31bce47e4e3f9850ab618ce3f2119963eb73f7b3 Mon Sep 17 00:00:00 2001 From: Sandrine Bailleux Date: Tue, 6 May 2014 13:25:37 +0100 Subject: [PATCH] Remove unused 'PL011_BASE' macro 'PL011_BASE' macro is no longer used because the right UART base address is now directly given to the 'console_init()' function. This patch removes it. Change-Id: I94759c99602df4876291a56f9f6a75de337a65ec --- include/drivers/arm/pl011.h | 4 ---- plat/fvp/platform.h | 1 - 2 files changed, 5 deletions(-) diff --git a/include/drivers/arm/pl011.h b/include/drivers/arm/pl011.h index 28aef54a6..12549206d 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 1f4e4324c..06bda79a1 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 /*******************************************************************************