• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef COREBOOT_H
8 #define COREBOOT_H
9 
10 #include <stdint.h>
11 
12 typedef struct {
13 	uint32_t type;			/* always 2 (memory-mapped) on ARM */
14 	uint32_t baseaddr;
15 	uint32_t baud;
16 	uint32_t regwidth;		/* in bytes, i.e. usually 4 */
17 	uint32_t input_hertz;
18 	uint32_t uart_pci_addr;		/* unused on current ARM systems */
19 } coreboot_serial_t;
20 extern coreboot_serial_t coreboot_serial;
21 
22 void coreboot_table_setup(void *base);
23 
24 #endif /* COREBOOT_H */
25