mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 18:14:24 +00:00

The codebase was using non-standard headers. It is needed to replace them by the correct ones so that we can use the new libc headers. Change-Id: I530f71d9510cb036e69fe79823c8230afe890b9d Acked-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
24 lines
577 B
C
24 lines
577 B
C
/*
|
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef __COREBOOT_H__
|
|
#define __COREBOOT_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct {
|
|
uint32_t type; /* always 2 (memory-mapped) on ARM */
|
|
uint32_t baseaddr;
|
|
uint32_t baud;
|
|
uint32_t regwidth; /* in bytes, i.e. usually 4 */
|
|
uint32_t input_hertz;
|
|
uint32_t uart_pci_addr; /* unused on current ARM systems */
|
|
} coreboot_serial_t;
|
|
extern coreboot_serial_t coreboot_serial;
|
|
|
|
void coreboot_table_setup(void *base);
|
|
|
|
#endif /* __COREBOOT_H__ */
|