]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.c
c61110df5db92659d9a5340be42ae3c43da48fcc
[mirror_edk2.git] / ArmPlatformPkg / Library / PL011UartClockLib / PL011UartClockLib.c
1 /** @file
2 *
3 * Copyright 2018 NXP
4 *
5 * This program and the accompanying materials
6 * are licensed and made available under the terms and conditions of the BSD License
7 * which accompanies this distribution. The full text of the license may be found at
8 * http://opensource.org/licenses/bsd-license.php
9 *
10 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 *
13 **/
14
15 #include <Base.h>
16
17 /**
18 Return clock in for PL011 Uart IP
19
20 @return Pcd PL011UartClkInHz
21 **/
22 UINT32
23 EFIAPI
24 PL011UartClockGetFreq (
25 VOID
26 )
27 {
28 return FixedPcdGet32 (PL011UartClkInHz);
29 }