From 061cbbc1115eb7360f2c7627d53d13e35d63cbe3 Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Fri, 20 Nov 2020 10:01:13 +0000 Subject: ArmPlatformPkg: Fix Ecc error 8001 in PrePi This patch fixes the following Ecc reported error: Only capital letters are allowed to be used for #define declarations The "SerialPrint" macro is definied for the PrePi module residing in the ArmPlatformPkg. It is never used in the module. The macro is thus removed. Signed-off-by: Pierre Gondois Reviewed-by: Ard Biesheuvel --- ArmPlatformPkg/PrePi/PrePi.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ArmPlatformPkg') diff --git a/ArmPlatformPkg/PrePi/PrePi.h b/ArmPlatformPkg/PrePi/PrePi.h index b64dd764a4..2dce8c8302 100644 --- a/ArmPlatformPkg/PrePi/PrePi.h +++ b/ArmPlatformPkg/PrePi/PrePi.h @@ -1,6 +1,6 @@ /** @file * -* Copyright (c) 2011-2015, ARM Limited. All rights reserved. +* Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.
* * SPDX-License-Identifier: BSD-2-Clause-Patent * @@ -21,8 +21,6 @@ #include #include -#define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1); - extern UINT64 mSystemMemoryEnd; RETURN_STATUS -- cgit v1.2.3