From: Sandrine Bailleux Date: Tue, 6 May 2014 12:25:37 +0000 (+0100) Subject: Remove unused 'PL011_BASE' macro X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=31bce47e4e3f9850ab618ce3f2119963eb73f7b3;p=project%2Fbcm63xx%2Fatf.git 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 --- diff --git a/include/drivers/arm/pl011.h b/include/drivers/arm/pl011.h index 28aef54a..12549206 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 1f4e4324..06bda79a 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 /*******************************************************************************