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>
		
			
				
	
	
		
			24 lines
		
	
	
		
			300 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			300 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /** @file
 | |
| 
 | |
|   Copyright 2018 NXP
 | |
| 
 | |
|   SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| 
 | |
| **/
 | |
| 
 | |
| #include <Base.h>
 | |
| 
 | |
| /**
 | |
|   Return clock in for PL011 Uart IP
 | |
| 
 | |
|   @return Pcd PL011UartClkInHz
 | |
| **/
 | |
| UINT32
 | |
| EFIAPI
 | |
| PL011UartClockGetFreq (
 | |
|   VOID
 | |
|   )
 | |
| {
 | |
|   return FixedPcdGet32 (PL011UartClkInHz);
 | |
| }
 |