Browse Source

ArmPlatformPkg: Fix Ecc error 8001

This patch fixes the following Ecc reported error:
File header doesn't exist File header comment missing
the ""Copyright""

Even though a copyright is present in the header file,
the leading '*' char prevents the Ecc tool from detecting it.
According to the edk2 coding specifcation, section 5.2.3
"File Heading", there should not be leading '*' char.

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Pierre Gondois 3 years ago
parent
commit
5a5440d0dc
29 changed files with 151 additions and 151 deletions
  1. 6 6
      ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c
  2. 5 5
      ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h
  3. 6 6
      ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c
  4. 5 5
      ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.h
  5. 5 5
      ArmPlatformPkg/Include/Library/ArmPlatformLib.h
  6. 5 5
      ArmPlatformPkg/Include/Library/PL011UartClockLib.h
  7. 5 5
      ArmPlatformPkg/Include/Library/PL011UartLib.h
  8. 5 5
      ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.c
  9. 5 5
      ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullMem.c
  10. 5 5
      ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.c
  11. 5 5
      ArmPlatformPkg/Library/PL011UartLib/PL011Uart.h
  12. 5 5
      ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClock.h
  13. 5 5
      ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointer.c
  14. 5 5
      ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.c
  15. 5 5
      ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.c
  16. 5 5
      ArmPlatformPkg/PlatformPei/PlatformPeiLib.c
  17. 5 5
      ArmPlatformPkg/PlatformPei/PlatformPeim.c
  18. 6 6
      ArmPlatformPkg/PrePeiCore/AArch64/ArchPrePeiCore.c
  19. 6 6
      ArmPlatformPkg/PrePeiCore/Arm/ArchPrePeiCore.c
  20. 5 5
      ArmPlatformPkg/PrePeiCore/MainMPCore.c
  21. 5 5
      ArmPlatformPkg/PrePeiCore/MainUniCore.c
  22. 6 6
      ArmPlatformPkg/PrePeiCore/PrePeiCore.c
  23. 6 6
      ArmPlatformPkg/PrePeiCore/PrePeiCore.h
  24. 5 5
      ArmPlatformPkg/PrePi/AArch64/ArchPrePi.c
  25. 5 5
      ArmPlatformPkg/PrePi/Arm/ArchPrePi.c
  26. 5 5
      ArmPlatformPkg/PrePi/MainMPCore.c
  27. 5 5
      ArmPlatformPkg/PrePi/MainUniCore.c
  28. 5 5
      ArmPlatformPkg/PrePi/PrePi.c
  29. 5 5
      ArmPlatformPkg/PrePi/PrePi.h

+ 6 - 6
ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c

@@ -1,10 +1,10 @@
 /** @file
-*
-*  Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>
-*  Copyright (c) 2016, Linaro Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>
+  Copyright (c) 2016, Linaro Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 

+ 5 - 5
ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2012, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2012, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 

+ 6 - 6
ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c

@@ -1,10 +1,10 @@
 /** @file
-*
-*  Copyright (c) 2011-2013, ARM Limited. All rights reserved.
-*  Copyright (c) 2018, Linaro Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2013, ARM Limited. All rights reserved.
+  Copyright (c) 2018, Linaro Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 

+ 5 - 5
ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.h

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2012, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2012, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 

+ 5 - 5
ArmPlatformPkg/Include/Library/ArmPlatformLib.h

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2013, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2013, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #ifndef _ARMPLATFORMLIB_H_

+ 5 - 5
ArmPlatformPkg/Include/Library/PL011UartClockLib.h

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright 2018 NXP
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright 2018 NXP
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #ifndef __PL011UARTCLOCKLIB_H__

+ 5 - 5
ArmPlatformPkg/Include/Library/PL011UartLib.h

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2016, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2016, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #ifndef __PL011_UART_LIB_H__

+ 5 - 5
ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2012, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2012, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <Library/ArmLib.h>

+ 5 - 5
ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullMem.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <Library/ArmPlatformLib.h>

+ 5 - 5
ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright 2018 NXP
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright 2018 NXP
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <Base.h>

+ 5 - 5
ArmPlatformPkg/Library/PL011UartLib/PL011Uart.h

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2016, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2016, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #ifndef __PL011_UART_H__

+ 5 - 5
ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClock.h

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011 - 2014, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011 - 2014, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 

+ 5 - 5
ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointer.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <PiPei.h>

+ 5 - 5
ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2015, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2015, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <PiPei.h>

+ 5 - 5
ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <PiPei.h>

+ 5 - 5
ArmPlatformPkg/PlatformPei/PlatformPeiLib.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2014, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2014, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <PiPei.h>

+ 5 - 5
ArmPlatformPkg/PlatformPei/PlatformPeim.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <PiPei.h>

+ 6 - 6
ArmPlatformPkg/PrePeiCore/AArch64/ArchPrePeiCore.c

@@ -1,10 +1,10 @@
 /** @file
-*  Main file supporting the transition to PEI Core in Normal World for Versatile Express
-*
-*  Copyright (c) 2012-2013, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+  Main file supporting the transition to PEI Core in Normal World for Versatile Express
+
+  Copyright (c) 2012-2013, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <Library/PrintLib.h>

+ 6 - 6
ArmPlatformPkg/PrePeiCore/Arm/ArchPrePeiCore.c

@@ -1,10 +1,10 @@
 /** @file
-*  Main file supporting the transition to PEI Core in Normal World for Versatile Express
-*
-*  Copyright (c) 2012, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+  Main file supporting the transition to PEI Core in Normal World for Versatile Express
+
+  Copyright (c) 2012, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <Library/PrintLib.h>

+ 5 - 5
ArmPlatformPkg/PrePeiCore/MainMPCore.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2014, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2014, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <Library/ArmGicLib.h>

+ 5 - 5
ArmPlatformPkg/PrePeiCore/MainUniCore.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2012, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2012, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include "PrePeiCore.h"

+ 6 - 6
ArmPlatformPkg/PrePeiCore/PrePeiCore.c

@@ -1,10 +1,10 @@
 /** @file
-*  Main file supporting the transition to PEI Core in Normal World for Versatile Express
-*
-*  Copyright (c) 2011-2014, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+  Main file supporting the transition to PEI Core in Normal World for Versatile Express
+
+  Copyright (c) 2011-2014, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <Library/BaseLib.h>

+ 6 - 6
ArmPlatformPkg/PrePeiCore/PrePeiCore.h

@@ -1,10 +1,10 @@
 /** @file
-*  Main file supporting the transition to PEI Core in Normal World for Versatile Express
-*
-*  Copyright (c) 2011, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+  Main file supporting the transition to PEI Core in Normal World for Versatile Express
+
+  Copyright (c) 2011, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 #ifndef __PREPEICORE_H_
 #define __PREPEICORE_H_

+ 5 - 5
ArmPlatformPkg/PrePi/AArch64/ArchPrePi.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2017, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2017, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include "PrePi.h"

+ 5 - 5
ArmPlatformPkg/PrePi/Arm/ArchPrePi.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011 - 2013, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011 - 2013, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include "PrePi.h"

+ 5 - 5
ArmPlatformPkg/PrePi/MainMPCore.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2014, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2014, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include "PrePi.h"

+ 5 - 5
ArmPlatformPkg/PrePi/MainUniCore.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include "PrePi.h"

+ 5 - 5
ArmPlatformPkg/PrePi/PrePi.c

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011-2017, ARM Limited. All rights reserved.
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011-2017, ARM Limited. All rights reserved.
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #include <PiPei.h>

+ 5 - 5
ArmPlatformPkg/PrePi/PrePi.h

@@ -1,9 +1,9 @@
 /** @file
-*
-*  Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>
-*
-*  SPDX-License-Identifier: BSD-2-Clause-Patent
-*
+
+  Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>
+
+  SPDX-License-Identifier: BSD-2-Clause-Patent
+
 **/
 
 #ifndef _PREPI_H_