mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

Since now the generic console_t structure holds the UART base address as well, let's use that generic location for the coreboot memory console. This removes the base member from the coreboot specific data structure, but keeps the struct console_cbmc_t and its size member. Change-Id: I7f1dffd41392ba3fe5c07090aea761a42313fb5b Signed-off-by: Andre Przywara <andre.przywara@arm.com>
25 lines
473 B
C
25 lines
473 B
C
/*
|
|
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef CBMEM_CONSOLE_H
|
|
#define CBMEM_CONSOLE_H
|
|
|
|
#include <drivers/console.h>
|
|
|
|
#define CONSOLE_T_CBMC_SIZE CONSOLE_T_DRVDATA
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
typedef struct {
|
|
console_t console;
|
|
uint32_t size;
|
|
} console_cbmc_t;
|
|
|
|
int console_cbmc_register(uintptr_t base, console_cbmc_t *console);
|
|
|
|
#endif /* __ASSEMBLER__ */
|
|
|
|
#endif /* CBMEM_CONSOLE_H */
|