]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg: Fix Ecc error 8001 in PrePi
authorPierre Gondois <Pierre.Gondois@arm.com>
Fri, 20 Nov 2020 10:01:13 +0000 (10:01 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 9 Dec 2020 15:32:12 +0000 (15:32 +0000)
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>
ArmPlatformPkg/PrePi/PrePi.h

index b64dd764a435579db23532fa59f99a2dab7e3a34..2dce8c83024ec8301d294f12f10b4ea6d2b7a61a 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 *\r
-*  Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
+*  Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>\r
 *\r
 *  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 *\r
@@ -21,8 +21,6 @@
 #include <Library/SerialPortLib.h>\r
 #include <Library/ArmPlatformLib.h>\r
 \r
-#define SerialPrint(txt)  SerialPortWrite (txt, AsciiStrLen(txt)+1);\r
-\r
 extern UINT64 mSystemMemoryEnd;\r
 \r
 RETURN_STATUS\r