]> git.proxmox.com Git - mirror_edk2.git/blame - ArmEbPkg/Include/ArmEbUart.h
Update the copyright notice format
[mirror_edk2.git] / ArmEbPkg / Include / ArmEbUart.h
CommitLineData
1fde2f61 1/*++\r
2\r
cf748a1a
HT
3Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
4Portions copyright (c) 2009, Hewlett-Packard Company. All rights reserved.<BR>\r
5Portions copyright (c) 2010, Apple Inc. All rights reserved.<BR>\r
6This program and the accompanying materials \r
1fde2f61 7are licensed and made available under the terms and conditions of the BSD License \r
8which accompanies this distribution. The full text of the license may be found at \r
9http://opensource.org/licenses/bsd-license.php \r
10 \r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
13\r
14--*/\r
15\r
16#ifndef __ARM_EB_UART_H__\r
17#define __ARM_EB_UART_H__\r
18\r
19\r
20#define SERIAL_PORT_MAX_TIMEOUT 100000000 // 100 seconds\r
21\r
22\r
23// EB constants\r
24#define EB_UART1_BASE 0x10009000\r
25\r
26// PL011 Registers\r
27#define UARTDR 0x000\r
28#define UARTRSR 0x004\r
29#define UARTECR 0x004\r
30#define UARTFR 0x018\r
31#define UARTILPR 0x020\r
32#define UARTIBRD 0x024\r
33#define UARTFBRD 0x028\r
34#define UARTLCR_H 0x02C\r
35#define UARTCR 0x030\r
36#define UARTIFLS 0x034\r
37#define UARTIMSC 0x038\r
38#define UARTRIS 0x03C\r
39#define UARTMIS 0x040\r
40#define UARTICR 0x044\r
41#define UARTDMACR 0x048\r
42\r
43// If the required baud rate is 115200 and UARTCLK = 24MHz then:\r
44