]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Include/Library/PL011UartClockLib.h
ArmPlatformPkg: PL011 Dynamic clock freq Support
[mirror_edk2.git] / ArmPlatformPkg / Include / Library / PL011UartClockLib.h
diff --git a/ArmPlatformPkg/Include/Library/PL011UartClockLib.h b/ArmPlatformPkg/Include/Library/PL011UartClockLib.h
new file mode 100644 (file)
index 0000000..04c7d51
--- /dev/null
@@ -0,0 +1,31 @@
+/** @file\r
+*\r
+*  Copyright 2018 NXP\r
+*\r
+*  This program and the accompanying materials\r
+*  are licensed and made available under the terms and conditions of the BSD License\r
+*  which accompanies this distribution.  The full text of the license may be found at\r
+*  http://opensource.org/licenses/bsd-license.php\r
+*\r
+*  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+*  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+*\r
+**/\r
+\r
+#ifndef __PL011UARTCLOCKLIB_H__\r
+#define __PL011UARTCLOCKLIB_H__\r
+\r
+/**\r
+\r
+  Return baud clock frequency of  PL011.\r
+\r
+  @return return frequency of PL011 in Hz\r
+\r
+**/\r
+UINT32\r
+EFIAPI\r
+PL011UartClockGetFreq (\r
+  VOID\r
+  );\r
+\r
+#endif\r