summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg
diff options
context:
space:
mode:
authorPierre Gondois <Pierre.Gondois@arm.com>2020-11-20 10:01:13 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-12-09 15:32:12 +0000
commit061cbbc1115eb7360f2c7627d53d13e35d63cbe3 (patch)
tree2ef751876f0c89f7d9775cba124388d18695ced9 /ArmPlatformPkg
parent2dfd81aaf50ca2bd1e2d33ed5687620de90810ce (diff)
downloadedk2-061cbbc1115eb7360f2c7627d53d13e35d63cbe3.tar.gz
edk2-061cbbc1115eb7360f2c7627d53d13e35d63cbe3.tar.bz2
edk2-061cbbc1115eb7360f2c7627d53d13e35d63cbe3.zip
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 <Pierre.Gondois@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Diffstat (limited to 'ArmPlatformPkg')
-rw-r--r--ArmPlatformPkg/PrePi/PrePi.h4
1 files changed, 1 insertions, 3 deletions
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.<BR>
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*
@@ -21,8 +21,6 @@
#include <Library/SerialPortLib.h>
#include <Library/ArmPlatformLib.h>
-#define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1);
-
extern UINT64 mSystemMemoryEnd;
RETURN_STATUS